summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 02:57:05 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 02:57:05 -0500
commit56cc8f0f971d2062ba57d3c7938e95344ac18464 (patch)
treec95afd5dcb887f3350ae552f85c68e85d9e82bd1 /user
parent90add851ef90ecdccaf078b59a29b5e0c72b8840 (diff)
downloadpackages-56cc8f0f971d2062ba57d3c7938e95344ac18464.tar.gz
packages-56cc8f0f971d2062ba57d3c7938e95344ac18464.tar.bz2
packages-56cc8f0f971d2062ba57d3c7938e95344ac18464.tar.xz
packages-56cc8f0f971d2062ba57d3c7938e95344ac18464.zip
user/links: pull in, bump to 2.16, fix up
Diffstat (limited to 'user')
-rw-r--r--user/links/APKBUILD33
1 files changed, 33 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+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"