mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 09:36:37 +02:00
Link: https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10147 Link: https://gitlab.alpinelinux.org/alpine/tsc/-/issues/88 Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
37 lines
849 B
Text
37 lines
849 B
Text
maintainer="Thomas Böhler <witcher@wiredspace.de>"
|
|
pkgname=surfraw
|
|
|
|
pkgver=2.3.0
|
|
pkgrel=0
|
|
pkgdesc="Shell Users' Revolutionary Front Rage Against the Web"
|
|
url="http://surfraw.org"
|
|
arch="noarch"
|
|
license="Public Domain"
|
|
makedepends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://gitlab.com/surfraw/Surfraw/uploads/2de827b2786ef2fe43b6f07913ca7b7f/surfraw-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" -j1 install
|
|
|
|
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
}
|
|
|
|
sha512sums="
|
|
51cdfb68bab701bce635a64ab3d5af669b2330c895180d01cca1c6f3c4005972ba4c573b693df59a2cc4fdb97d4fd11224bae500bbd4a17c3ab446de5241c9a0 surfraw-2.3.0.tar.gz
|
|
"
|