aboutsummaryrefslogtreecommitdiffstats
path: root/main/lynx/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lynx/APKBUILD')
-rw-r--r--main/lynx/APKBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/main/lynx/APKBUILD b/main/lynx/APKBUILD
index f3b05b2a65..0bb7913804 100644
--- a/main/lynx/APKBUILD
+++ b/main/lynx/APKBUILD
@@ -1,23 +1,21 @@
+# 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.8_p2
+pkgver=2.8.8
+_relver=${pkgver}rel.2
pkgrel=0
-_v=${pkgver%_*}
-_d=${_v//./-}
-_ver=${pkgver/_p/rel.}
-
pkgdesc="Cross-platform text-based browser"
-url="http://lynx.isc.org"
+url="http://lynx.invisible-island.net/"
arch="all"
license="GPL"
-depends=
+depends="gzip"
makedepends="openssl-dev gettext zlib-dev glib-dev perl ncurses-dev"
install=""
subpackages="$pkgname-doc"
-source="http://lynx.isc.org/lynx${_v}/lynx${_ver}.tar.bz2"
+source="http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${_relver}.tar.bz2"
-_builddir="$srcdir/${pkgname}${_d}"
+_builddir="$srcdir"/${pkgname}${pkgver//./-}
prepare() {
local i
cd "$_builddir"
@@ -35,6 +33,10 @@ build() {
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --enable-ipv6 \
|| return 1
make helpdir=/usr/share/doc/lynx/help \
docdir=/usr/share/doc/lynx || return 1