gawk: update to 5.0.0.

This commit is contained in:
maxice8 2019-04-12 14:09:28 -03:00 committed by maxice8
parent 63f57d041e
commit 8e538c41ea

View file

@ -1,36 +1,33 @@
# Template file for 'gawk' # Template file for 'gawk'
pkgname=gawk pkgname=gawk
version=4.2.1 version=5.0.0
revision=2 revision=1
lib32disabled=yes
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-readline" configure_args="--with-readline"
makedepends="readline-devel" makedepends="readline-devel"
short_desc="The GNU awk utility" short_desc="GNU awk utility"
maintainer="Juan RP <xtraeme@voidlinux.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-3" license="GPL-3.0-or-later"
homepage="https://directory.fsf.org/wiki/Gawk" homepage="https://directory.fsf.org/wiki/Gawk"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=d1119785e746d46a8209d28b2de404a57f983aa48670f4e225531d3bdc175551 checksum=50f091ed0eb485ad87dbb620d773a3e2c31a27f75f5e008f7bf065055f024406
lib32disabled=yes
provides="awk-0_1" provides="awk-0_1"
alternatives=" alternatives="
awk:awk:/usr/bin/gawk awk:awk:/usr/bin/gawk
awk:awk.1:/usr/share/man/man1/gawk.1" awk:awk.1:/usr/share/man/man1/gawk.1"
pre_configure() {
# Create symlinks for bins and manpages.
sed -i -e "s|\$(LN)|\$(LN_S)|g" Makefile.in doc/Makefile.in
}
pre_check() { pre_check() {
sed -i 's/done | more/done/g' test/Makefile vsed -i 's/done | more/done/g' test/Makefile
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) *-musl)
sed -i '/testext/d' test/Makefile vsed -i '/testext/d' test/Makefile
sed -i '/clos1way6/d' test/Makefile ;; vsed -i '/clos1way6/d' test/Makefile ;;
esac esac
} }
post_install() { post_install() {
rm ${DESTDIR}/usr/bin/awk rm ${DESTDIR}/usr/bin/awk
} }