Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Andreas Radke (AndyRTR) - Saturday, 19 February 2022, 10:12 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

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...