diff options
author | Max Rees <maxcrees@me.com> | 2019-07-21 21:16:29 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-07-21 21:16:29 -0400 |
commit | 57e345c7685983e629aac18a4e5b068392d29f6d (patch) | |
tree | 3382b950b7b2b20262401226e0495ef4a0d86514 /user/w3m | |
parent | 28292506b3918b763ea272399044fcf72534aec2 (diff) | |
download | packages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.gz packages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.bz2 packages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.xz packages-57e345c7685983e629aac18a4e5b068392d29f6d.zip |
user/*: bashism removal part 2 (o-z)
Diffstat (limited to 'user/w3m')
-rw-r--r-- | user/w3m/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/user/w3m/APKBUILD b/user/w3m/APKBUILD index 134acd67d..45fb1c014 100644 --- a/user/w3m/APKBUILD +++ b/user/w3m/APKBUILD @@ -2,6 +2,8 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=w3m pkgver=0.5.3_git20190105 +_pkgverp="${pkgver%_*}+${pkgver#*_}" +_pkgverm="${pkgver%_*}-${pkgver#*_}" pkgrel=0 pkgdesc="Text-based Web browser" url="http://w3m.sourceforge.net/" @@ -12,8 +14,8 @@ depends="compface" makedepends="compface-dev gc-dev gdk-pixbuf-dev glib-dev gtk+2.0-dev imlib2-dev libbsd-dev libx11-dev ncurses-dev openssl-dev" subpackages="$pkgname-doc $pkgname-lang" -source="w3m-$pkgver.tar.gz::https://github.com/tats/w3m/archive/v0.5.3+git20190105.tar.gz" -builddir="$srcdir"/w3m-${pkgver/_/-} +source="w3m-$pkgver.tar.gz::https://github.com/tats/w3m/archive/v$_pkgverp.tar.gz" +builddir="$srcdir/$pkgname-$_pkgverm" build() { cd "$builddir" |