nawk: update to 20180823. (#2111)

This commit is contained in:
cr6git 2018-08-26 09:44:02 +02:00 committed by GitHub
parent 02c10b7351
commit ad6bb74558
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,17 @@
# Template file for 'nawk'
pkgname=nawk
version=20121220
revision=5
create_wrksrc=yes
version=20180823
revision=1
_commit=0f4e1ba922ccd45f7bd47701e923d98566ceb7c5
wrksrc="awk-${_commit}"
hostmakedepends="bison"
short_desc="The one, true implementation of AWK"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://cm.bell-labs.com/who/bwk/"
distfiles="http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz"
checksum=8dc092165c5a4e1449f964286483d06d0dbfba4b0bd003cb5dab30de8f6d9b83
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=fa4c0fd349c18fd62178d7c54ac340d8ba49c17a538fbe8e7f9362a973726452
provides="awk-0_1"
alternatives="
@ -19,7 +21,6 @@ alternatives="
do_configure() {
sed -i '/maketab/{s/CC/BUILD_CC/;s/CFLAGS/BUILD_CFLAGS/}' makefile
sed -i '/YACC = yacc -d -S/ s|^|#|' makefile
sed -n '/Copyright/,/THIS SOFTWARE\./p' README > LICENSE
sed -i 's/-lm/$(LDFLAGS) &/' makefile
}
do_build() {