33 lines
794 B
Bash
33 lines
794 B
Bash
# Template file for 'gawk'
|
|
pkgname=gawk
|
|
version=5.0.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-readline"
|
|
makedepends="readline-devel"
|
|
short_desc="GNU awk utility"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://directory.fsf.org/wiki/Gawk"
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=8e4e86f04ed789648b66f757329743a0d6dfb5294c3b91b756a474f1ce05a794
|
|
lib32disabled=yes
|
|
|
|
provides="awk-0_1"
|
|
alternatives="
|
|
awk:awk:/usr/bin/gawk
|
|
awk:awk.1:/usr/share/man/man1/gawk.1"
|
|
|
|
pre_check() {
|
|
vsed -i 's/done | more/done/g' test/Makefile
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
vsed -i '/testext/d' test/Makefile
|
|
vsed -i '/clos1way6/d' test/Makefile ;;
|
|
esac
|
|
}
|
|
|
|
post_install() {
|
|
rm ${DESTDIR}/usr/bin/awk
|
|
}
|