mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 15:51:33 +01:00
31 lines
742 B
Plaintext
31 lines
742 B
Plaintext
# Maintainer: John Vogel <jvogel4@stny.rr.com>
|
|
pkgname=nawk
|
|
pkgver=20230909
|
|
pkgrel=1
|
|
pkgdesc="The one, true implementation of AWK"
|
|
url="https://www.cs.princeton.edu/~bwk/btl.mirror/"
|
|
arch="all"
|
|
license=MIT
|
|
makedepends="bison"
|
|
checkdepends="bash"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/onetrueawk/awk/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/awk-$pkgver"
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 a.out "$pkgdir"/usr/bin/$pkgname
|
|
install -Dm644 awk.1 "$pkgdir"/usr/share/man/man1/$pkgname.1
|
|
}
|
|
|
|
sha512sums="
|
|
28687dfbd797fb1f758bd356824110602045b7249a41f47e2cda15ac3d256d57260f1fc74119dc30fbb0e909295bd676a52ec24d3b3cc35e417d46a1749f856f nawk-20230909.tar.gz
|
|
"
|