aboutsummaryrefslogtreecommitdiffstats
path: root/main/lynx
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-10-09 07:11:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-10-09 07:14:32 +0000
commit3711b284147fb68eecdc7c8433daa1219cfcb440 (patch)
treec13abfd86cfdc9d5a587d9002f68b38156d7535c /main/lynx
parent28d62f838e4912dd3bb1d4073c852431fc95fc71 (diff)
downloadaports-3711b284147fb68eecdc7c8433daa1219cfcb440.tar.bz2
aports-3711b284147fb68eecdc7c8433daa1219cfcb440.tar.xz
main/lynx: fix version number
the upstream version 2.8.8rel.2 corresponds to aport version 2.8.8_p2 and a future upstream version 2.8.8rel.3 will be aport version 2.8.8_p3. bump pkgrel so people actually get the fixed versino with apk upgrade.
Diffstat (limited to 'main/lynx')
-rw-r--r--main/lynx/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/lynx/APKBUILD b/main/lynx/APKBUILD
index 0bb7913804..0b018984a8 100644
--- a/main/lynx/APKBUILD
+++ b/main/lynx/APKBUILD
@@ -2,9 +2,10 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=lynx
-pkgver=2.8.8
-_relver=${pkgver}rel.2
-pkgrel=0
+pkgver=2.8.8_p2
+_relver=${pkgver/_p/rel.}
+_v=${_relver%rel.*}
+pkgrel=1
pkgdesc="Cross-platform text-based browser"
url="http://lynx.invisible-island.net/"
arch="all"
@@ -15,7 +16,7 @@ install=""
subpackages="$pkgname-doc"
source="http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${_relver}.tar.bz2"
-_builddir="$srcdir"/${pkgname}${pkgver//./-}
+_builddir="$srcdir"/${pkgname}${_v//./-}
prepare() {
local i
cd "$_builddir"