summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/mawk/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/system/mawk/APKBUILD b/system/mawk/APKBUILD
index d8fd88b7d..326003b51 100644
--- a/system/mawk/APKBUILD
+++ b/system/mawk/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mawk
pkgver=1.3.4.20200120
-pkgrel=0
+pkgrel=1
pkgdesc="Pattern scanning and text processing language"
url="https://invisible-island.net/mawk/mawk.html"
arch="all"
@@ -21,7 +21,8 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var
+ --localstatedir=/var \
+ --bindir=/bin
make
}
@@ -31,7 +32,9 @@ check() {
package() {
make DESTDIR="$pkgdir" install
- ln -s mawk "$pkgdir"/usr/bin/awk
+ ln -s mawk "$pkgdir"/bin/awk
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s ../../bin/awk "$pkgdir"/usr/bin/awk
}
sha512sums="14d9a6642ce931bf6457d248fc2d6da4f0ea7541976ca282ea708b26df048f86fdf92c27f72d497501ccd43a244d1d1a606f1a2f266a7558306fea35dcc3041b mawk-1.3.4-20200120.tgz"