diff options
author | Steffen Nurpmeso <steffen@sdaoden.eu> | 2017-10-25 23:00:36 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-12-10 11:55:07 +0000 |
commit | d401c83b3df4fb7f54c7cb7d580353776ddae8fa (patch) | |
tree | ff20cffd90e160a2ea70382a30e2fff7ef0de207 /testing/nawk | |
parent | c22de86e479c76ae398d895020c9b42ba65295c2 (diff) | |
download | aports-d401c83b3df4fb7f54c7cb7d580353776ddae8fa.tar.bz2 aports-d401c83b3df4fb7f54c7cb7d580353776ddae8fa.tar.xz |
testing/nawk: new aport
https://www.cs.princeton.edu/~bwk/btl.mirror/
The one, true implementation of AWK
Diffstat (limited to 'testing/nawk')
-rw-r--r-- | testing/nawk/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/nawk/APKBUILD b/testing/nawk/APKBUILD new file mode 100644 index 0000000000..9a9b5e3df2 --- /dev/null +++ b/testing/nawk/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Steffen Nurpmeso <steffen@sdaoden.eu> +pkgname=nawk +pkgver=20180827 +pkgrel=0 +pkgdesc="The one, true implementation of AWK" +url="https://www.cs.princeton.edu/~bwk/btl.mirror/" +arch=all +license=MIT +depends= +makedepends=byacc +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/onetrueawk/awk/archive/$pkgver.tar.gz" +options="!check" +builddir="$srcdir/awk-$pkgver" + +build() { + cd "$builddir" + + make YACC='yacc -d -s' +} + +package() { + cd "$builddir" + install -Dm755 a.out "$pkgdir"/usr/bin/$pkgname + install -Dm644 awk.1 "$pkgdir"/usr/share/man/man1/$pkgname.1 +} + +sha512sums="cd6561149be71e6311aaa69c86b90ee4b29a057e5c2595470ccc8a41c40c653ec31b4bd46d7f58896d012f5fb5952103a76aa463a69e5128cba43d80eedf0b9b nawk-20180827.tar.gz" |