summaryrefslogtreecommitdiff
path: root/system/mawk/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 04:02:27 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 04:43:04 -0400
commit23bcb3767f6d16eaba523055f0b8474bfbae16ba (patch)
tree95327b88bac6651c45ca92c099d4fb300716ba49 /system/mawk/APKBUILD
parentd3eb7058d8f66a7fa94c262314df4c95a76a36fc (diff)
downloadpackages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.gz
packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.bz2
packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.xz
packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.zip
system/*: initial bashism removal
Diffstat (limited to 'system/mawk/APKBUILD')
-rw-r--r--system/mawk/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/mawk/APKBUILD b/system/mawk/APKBUILD
index ca9005ce5..8f2cd7faf 100644
--- a/system/mawk/APKBUILD
+++ b/system/mawk/APKBUILD
@@ -8,7 +8,7 @@ url="https://invisible-island.net/mawk/mawk.html"
arch="all"
license="BSD-3-Clause"
subpackages="$pkgname-doc"
-_dlver="${pkgver/.201/-201}"
+_dlver="${pkgver%.*}-${pkgver##*.}"
source="https://invisible-mirror.net/archives/$pkgname/$pkgname-$_dlver.tgz"
builddir="$srcdir/$pkgname-$_dlver"