summaryrefslogtreecommitdiff
path: root/system/mawk
diff options
context:
space:
mode:
Diffstat (limited to 'system/mawk')
-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"