summaryrefslogtreecommitdiff
path: root/user/lynx/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 19:44:28 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 19:44:28 -0400
commitdb4d737a2d883f7d3ff122fa3116afecb9942770 (patch)
treea829de67577a3c8dac8386d902d25de634117e1a /user/lynx/APKBUILD
parent94731625b42d0dfc0fd5111482938584b40c7478 (diff)
downloadpackages-db4d737a2d883f7d3ff122fa3116afecb9942770.tar.gz
packages-db4d737a2d883f7d3ff122fa3116afecb9942770.tar.bz2
packages-db4d737a2d883f7d3ff122fa3116afecb9942770.tar.xz
packages-db4d737a2d883f7d3ff122fa3116afecb9942770.zip
user/*: APKBUILD bashism removal, part one (a-p)
Diffstat (limited to 'user/lynx/APKBUILD')
-rw-r--r--user/lynx/APKBUILD5
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"