From ad6bb74558f7cc7583ec9843fa78b51f8815d07b Mon Sep 17 00:00:00 2001 From: cr6git Date: Sun, 26 Aug 2018 09:44:02 +0200 Subject: [PATCH] nawk: update to 20180823. (#2111) --- srcpkgs/nawk/template | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/srcpkgs/nawk/template b/srcpkgs/nawk/template index 0a239c93a0..5ed9c10d77 100644 --- a/srcpkgs/nawk/template +++ b/srcpkgs/nawk/template @@ -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 " -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() {