FS#73876 - [surfraw] FTBFS for upstream source link is broken

Attached to Project: Community Packages
Opened by Celeste (Coelacanthus) - Saturday, 19 February 2022, 05:27 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Upstream source link (https://gitlab.com/surfraw/Surfraw/repository/surfraw-2.3.0/archive.tar.bz2) is broken (404).
Maybe we can change it to $pkgname-$pkgver.tar.bz2::$url/-/archive/$pkgname-$pkgver/Surfraw-$pkgname-$pkgver.tar.bz2

This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:03 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/surfraw/issues/1
Comment by Jeffrey Pan (XieJiSS) - Saturday, 19 February 2022, 17:28 GMT
```
--- PKGBUILD
+++ PKGBUILD
@@ -12,11 +12,11 @@ depends=('perl')
install=$pkgname.install
changelog=$pkgname.changelog
backup=('etc/xdg/surfraw/conf' 'etc/xdg/surfraw/bookmarks')
-source=($pkgname-$pkgver.tar.bz2::https://gitlab.com/surfraw/Surfraw/repository/$pkgname-$pkgver/archive.tar.bz2)
-sha256sums=('d63c19c382b0e888e442f4106ee6babb5071ce076ab7834028db070814c42556')
+source=($pkgname-$pkgver.tar.bz2::https://gitlab.com/surfraw/Surfraw/-/archive/surfraw-$pkgver/Surfraw-surfraw-$pkgver.tar.bz2)
+sha256sums=('1859bc0e54080ae710511d9420af2ef24823ca3a141d0fe248c7bf0f5f18e6c5')

build() {
- cd "${srcdir}"/Surfraw-$pkgname-$pkgver-8b7e1d1f4f63d07370953ffc3abe492f943c90a2
+ cd "${srcdir}"/Surfraw-$pkgname-$pkgver

./prebuild
./configure --prefix=/usr --sysconfdir=/etc
@@ -24,7 +24,7 @@ build() {
}

package () {
- cd "${srcdir}"/Surfraw-$pkgname-$pkgver-8b7e1d1f4f63d07370953ffc3abe492f943c90a2
+ cd "${srcdir}"/Surfraw-$pkgname-$pkgver

make DESTDIR="${pkgdir}" install

```

note that the checksum should be regenerated by maintainers.

Loading...