summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
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"