aports/testing/nawk/APKBUILD
Steffen Nurpmeso d401c83b3d testing/nawk: new aport
https://www.cs.princeton.edu/~bwk/btl.mirror/
The one, true implementation of AWK
2018-12-10 11:55:07 +00:00

29 lines
763 B
Plaintext

# 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"