diff options
Diffstat (limited to 'user/lynx/APKBUILD')
-rw-r--r-- | user/lynx/APKBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/user/lynx/APKBUILD b/user/lynx/APKBUILD index 4e69511e8..24af506f4 100644 --- a/user/lynx/APKBUILD +++ b/user/lynx/APKBUILD @@ -3,8 +3,7 @@ # Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> pkgname=lynx pkgver=2.8.9_p1 -_relver=${pkgver/_p/rel.} -_v=${_relver%rel.*} +_relver="${pkgver%_p*}rel.${pkgver#*_p}" pkgrel=0 pkgdesc="Cross-platform text-based browser" url="https://lynx.invisible-island.net/" @@ -14,7 +13,7 @@ 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} +builddir="$srcdir/${pkgname}${_relver}" build() { cd "$builddir" |