diff options
Diffstat (limited to 'user/wireless-tools')
-rw-r--r-- | user/wireless-tools/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/user/wireless-tools/APKBUILD b/user/wireless-tools/APKBUILD index 0d5cfcf02..8f327a3e9 100644 --- a/user/wireless-tools/APKBUILD +++ b/user/wireless-tools/APKBUILD @@ -4,8 +4,8 @@ # Note: Sorry this is disgusting, I blame the author for archiving it using a silly naming scheme pkgname=wireless-tools pkgver=30_pre9 -_pkgname=${pkgname/-/_} -_pkgver=${pkgver/_/.} +_pkgname=wireless_tools +_pkgver=$(printf '%s' "$pkgver" | sed 's/_/./') _pkgmaj=${pkgver%_pre[0-9]*} pkgrel=0 pkgdesc="Open Source wireless tools" @@ -16,9 +16,9 @@ license="GPL-2.0-or-later" depends="" makedepends="linux-headers" subpackages="$pkgname-dev $pkgname-doc" -source="https://hewlettpackard.github.io/wireless-tools/wireless_tools.${_pkgver}.tar.gz" +source="https://hewlettpackard.github.io/wireless-tools/wireless_tools.$_pkgver.tar.gz" -builddir="$srcdir"/"$_pkgname"."$_pkgmaj" +builddir="$srcdir/$_pkgname.$_pkgmaj" build() { cd "$builddir" |