summaryrefslogtreecommitdiff
path: root/system/mawk/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/mawk/APKBUILD')
-rw-r--r--system/mawk/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/mawk/APKBUILD b/system/mawk/APKBUILD
index 178969d34..ca9005ce5 100644
--- a/system/mawk/APKBUILD
+++ b/system/mawk/APKBUILD
@@ -1,15 +1,16 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mawk
-pkgver=20171017
+pkgver=1.3.4.20171017
pkgrel=0
pkgdesc="Pattern scanning and text processing language"
url="https://invisible-island.net/mawk/mawk.html"
arch="all"
license="BSD-3-Clause"
subpackages="$pkgname-doc"
-source="https://invisible-mirror.net/archives/$pkgname/$pkgname-1.3.4-$pkgver.tgz"
-builddir="$srcdir/$pkgname-1.3.4-$pkgver"
+_dlver="${pkgver/.201/-201}"
+source="https://invisible-mirror.net/archives/$pkgname/$pkgname-$_dlver.tgz"
+builddir="$srcdir/$pkgname-$_dlver"
build() {
cd "$builddir"