From 56cc8f0f971d2062ba57d3c7938e95344ac18464 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 27 Jul 2018 02:57:05 -0500 Subject: user/links: pull in, bump to 2.16, fix up --- user/links/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/links/APKBUILD (limited to 'user/links/APKBUILD') diff --git a/user/links/APKBUILD b/user/links/APKBUILD new file mode 100644 index 000000000..1450559f5 --- /dev/null +++ b/user/links/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: A. Wilcox +pkgname=links +pkgver=2.16 +pkgrel=0 +pkgdesc="Text Web browser, similar to Lynx" +url="http://links.twibright.com/" +arch="all" +options="!check" # No test suite. +license="GPL-2.0-only" +depends="" +makedepends="bzip2-dev openssl-dev zlib-dev" +subpackages="$pkgname-doc" +source="http://$pkgname.twibright.com/download/$pkgname-$pkgver.tar.bz2" + +build () { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-javascript \ + --disable-graphics \ + --without-x + make -j1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="3ce169e214eae0f997c1f8647d354dc0803c9118a97dcd2594d62af23336890272f4b027d3ab0a0e151672d1506e50da0f0e561999c5841f0f183f32a279b14a links-2.16.tar.bz2" -- cgit v1.2.3-70-g09d2