aboutsummaryrefslogtreecommitdiffstats
path: root/main/lynx
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-02-19 14:50:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-02-19 14:50:20 +0000
commit871f42cabfaa13b49707336d9ceabea13fc3841d (patch)
tree3c1e20af17c09660d72aa67c0ae30e85cdfb45aa /main/lynx
parentf88d62de56c7b8b1c89674f18d890559df7289fd (diff)
downloadaports-871f42cabfaa13b49707336d9ceabea13fc3841d.tar.bz2
aports-871f42cabfaa13b49707336d9ceabea13fc3841d.tar.xz
main/lynx: upgrade to 2.8.8
Diffstat (limited to 'main/lynx')
-rw-r--r--main/lynx/APKBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/main/lynx/APKBUILD b/main/lynx/APKBUILD
index 75b6925283..52adc066c3 100644
--- a/main/lynx/APKBUILD
+++ b/main/lynx/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=lynx
-pkgver=2.8.7_p1
+pkgver=2.8.8
pkgrel=0
_d=${pkgver//./-}
_d=${_d%_*}
@@ -14,13 +14,12 @@ depends=
makedepends="openssl-dev gettext zlib-dev glib-dev perl pkgconfig ncurses-dev"
install=""
subpackages="$pkgname-doc"
-source="http://lynx.isc.org/current/$pkgname${_ver}.tar.bz2"
+source="http://lynx.isc.org/lynx${_ver}/lynx${_ver}.tar.bz2"
_builddir="$srcdir/${pkgname}${_d}"
prepare() {
local i
cd "$_builddir"
- update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -36,20 +35,17 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
|| return 1
- make || return 1
+ make helpdir=/usr/share/doc/lynx/help \
+ docdir=/usr/share/doc/lynx || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install install-help install-doc \
+ helpdir=/usr/share/doc/lynx/help \
+ docdir=/usr/share/doc/lynx || return 1
}
-doc() {
- cd "$_builddir"
- install -Dm644 docs/* "$subpkgdir"/usr/share/doc/$pkgname
- mv "$pkgdir"/usr/man/ "$subpkgdir"/usr/share/
-}
-
-md5sums="493af4c77ef6761e3f0157cd1be033a0 lynx2.8.7rel.1.tar.bz2"
-sha256sums="40ec9774deb4a7acf69e1bcfb5e272a3857ccc17e20d923255d64cb5dbe55dad lynx2.8.7rel.1.tar.bz2"
-sha512sums="7eba63001a028d6ce7d8d910efb8bcd3e7c48d8fe83103d8272270bb8be2ae56e5ec7a3b25cb64eee066bcf91a5b37a5c7bfa9adffe2cb00b6b34fe7f8a8c7fd lynx2.8.7rel.1.tar.bz2"
+md5sums="f467c043fe9a3963fc1c05f54923803f lynx2.8.8.tar.bz2"
+sha256sums="a25a1c74c8fe86ff332d8a85441d6155a842fef894d2ffb9ffd9f6457a754c02 lynx2.8.8.tar.bz2"
+sha512sums="ecfc3e9c3b42b3e1da12d094a1e0898434552bd516a9661beba41b779bf714f52a91414caa2991147d5bed37de461b053f97de9c0e341c1da2a930c3360f1e24 lynx2.8.8.tar.bz2"