Skip to content
Snippets Groups Projects
Verified Commit ee4407bf authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

system/mawk: Install to /bin and symlink to /usr/bin

parent 3de73cb6
No related branches found
No related tags found
No related merge requests found
......@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment