diff options
Diffstat (limited to 'user/w3m/APKBUILD')
-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" |