added lynx

This commit is contained in:
Ella-0 2021-05-21 10:46:25 +01:00
parent 63672bc731
commit 25e86ce9d6

31
pkgs/lynx/build.sh Normal file
View file

@ -0,0 +1,31 @@
pkgname=lynx
pkgver=2.8.9
fetch() {
curl "https://invisible-mirror.net/archives/lynx/tarballs/lynx2.8.9rel.1.tar.bz2" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mv lynx2.8.9rel.1 $pkgname-$pkgver
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-ssl=/usr \
--build=x86_64-unknown-linux-musl \
--host=x86_64-unknown-linux-musl
gmake
}
package() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}