void-packages/srcpkgs/chroot-gawk/template

22 lines
654 B
Bash

# Template file for 'chroot-gawk'
pkgname=chroot-gawk
version=5.0.0
revision=1
wrksrc="gawk-${version}"
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=50f091ed0eb485ad87dbb620d773a3e2c31a27f75f5e008f7bf065055f024406
bootstrap=yes
provides="awk-0_1"
replaces="awk>=0"
post_install() {
rm -rf ${DESTDIR}/usr/share ${DESTDIR}/etc/profile.d ${DESTDIR}/usr/include
}