Mail archive
alpine-aports

[alpine-aports] [PATCH] main/lynx: fix download link and depend on gzip

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Fri, 9 Oct 2015 01:29:34 +0200

The lynx website has been moved to http://lynx.invisible-island.net the
latest version available from that website is 2.8.8, version 2.8.8_p2
doesn't seem to be a valid lynx version (any more?).

Furthermore lynx uses some GNU gzip longopts and therefore needs to have
a GNU gzip runtime dependency.
---
 main/lynx/APKBUILD | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/main/lynx/APKBUILD b/main/lynx/APKBUILD
index f3b05b2..0bb7913 100644
--- a/main/lynx/APKBUILD
+++ b/main/lynx/APKBUILD
_at_@ -1,23 +1,21 @@
+# Contributor: Sören Tempel <soeren+alpine_at_soeren-tempel.net>
 # Contributor: Kiyoshi Aman <kiyoshi.aman_at_gmail.com>
 # Maintainer: Kiyoshi Aman <kiyoshi.aman_at_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"
_at_@ -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
-- 
2.6.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Oct 09 2015 - 01:29:34 GMT