summaryrefslogtreecommitdiff
path: root/user/lynx/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 21:38:21 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 21:38:21 -0500
commit9bf1c5d6837f6a4b853f4108668eff9b35e58dfa (patch)
treee4e5c0e8d14b92188c78f31be887b580ddb518d9 /user/lynx/APKBUILD
parentd9acd4ed6200099d621fb911b74da6fc3b243dbf (diff)
downloadpackages-9bf1c5d6837f6a4b853f4108668eff9b35e58dfa.tar.gz
packages-9bf1c5d6837f6a4b853f4108668eff9b35e58dfa.tar.bz2
packages-9bf1c5d6837f6a4b853f4108668eff9b35e58dfa.tar.xz
packages-9bf1c5d6837f6a4b853f4108668eff9b35e58dfa.zip
user/lynx: pull in, bump, fix up
Diffstat (limited to 'user/lynx/APKBUILD')
-rw-r--r--user/lynx/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/user/lynx/APKBUILD b/user/lynx/APKBUILD
new file mode 100644
index 000000000..14d35db09
--- /dev/null
+++ b/user/lynx/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+pkgname=lynx
+pkgver=2.8.9_p1
+_relver=${pkgver/_p/rel.}
+_v=${_relver%rel.*}
+pkgrel=0
+pkgdesc="Cross-platform text-based browser"
+url="http://lynx.invisible-island.net/"
+arch="all"
+license="GPL-2.0-only"
+depends="gzip"
+makedepends="glib-dev ncurses-dev openssl-dev perl utmps-dev zlib-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${_relver}.tar.bz2"
+builddir="$srcdir"/${pkgname}${_relver}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --enable-ipv6 \
+ --enable-nls \
+ --with-ssl
+ make helpdir=/usr/share/doc/lynx/help \
+ docdir=/usr/share/doc/lynx
+}
+
+check() {
+ cd "$builddir"
+ ./lynx -version
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install install-help install-doc \
+ helpdir=/usr/share/doc/lynx/help \
+ docdir=/usr/share/doc/lynx
+}
+
+sha512sums="61edbe082684fcbd91bdbf4f4d27c3baf92358811aaffc2f8af46adf23ca7b48aede1520fc5f2a8fc974a2f4bbf4e57e7e6027a187bfc6101e56878c98178e6d lynx2.8.9rel.1.tar.bz2"