# Template file for 'chroot-gawk'
pkgname=chroot-gawk
version=5.0.1
revision=1
build_style=gnu-configure
configure_args="--disable-nls --without-readline ac_cv_libsigsegv=/bin/false"
short_desc="GNU awk utility -- for xbps-src use"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://directory.fsf.org/wiki/Gawk"
distfiles="${GNU_SITE}/gawk/gawk-${version}.tar.xz"
checksum=8e4e86f04ed789648b66f757329743a0d6dfb5294c3b91b756a474f1ce05a794
repository=bootstrap

bootstrap=yes
provides="awk-0_1"
replaces="awk>=0"

post_install() {
	rm -rf ${DESTDIR}/usr/share ${DESTDIR}/etc/profile.d ${DESTDIR}/usr/include
}
