From db4d737a2d883f7d3ff122fa3116afecb9942770 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sun, 21 Jul 2019 19:44:28 -0400 Subject: user/*: APKBUILD bashism removal, part one (a-p) --- user/lynx/APKBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'user/lynx') 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 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" -- cgit v1.2.3-70-g09d2