nawk: update to 20220122.

This commit is contained in:
Leah Neukirchen 2022-01-28 17:57:36 +01:00
parent 0d17c8d4cf
commit 37908224ed

View file

@ -1,17 +1,16 @@
# Template file for 'nawk'
pkgname=nawk
version=20210110
version=20220122
revision=1
_commit=178f660b5a4fde6f39e8065185373166f55b6e0c
wrksrc="awk-${_commit}"
wrksrc="awk-${version}"
hostmakedepends="bison"
short_desc="The one, true implementation of AWK"
maintainer="mmnmnnmnmm <mnnnm@disroot.org>"
license="SMLNJ"
homepage="https://github.com/onetrueawk/awk"
changelog="https://raw.githubusercontent.com/onetrueawk/awk/master/ChangeLog"
distfiles="https://github.com/onetrueawk/awk/archive/${_commit}.tar.gz"
checksum=57bca56b5e84e2148e4ba600f5dcdd376a1a5d374bafe426a386dc17e25ead45
distfiles="https://github.com/onetrueawk/awk/archive/refs/tags/${version}.tar.gz"
checksum=720a06ff8dcc12686a5176e8a4c74b1295753df816e38468a6cf077562d54042
provides="awk-0_1"
alternatives="
@ -27,6 +26,10 @@ do_build() {
make CC=$CC CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS -DHAS_ISBLANK" LDFLAGS="$LDFLAGS"
}
do_check() {
make check
}
do_install() {
vbin a.out nawk
vman awk.1 nawk.1