void-packages/srcpkgs/chroot-grep/template

24 lines
745 B
Plaintext

# Build template for 'chroot-grep'.
pkgname=chroot-grep
version=2.16
revision=1
wrksrc=grep-${version}
bootstrap=yes
conflicts="grep>=0"
provides="grep-${version}_${revision}"
build_style=gnu-configure
configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"
homepage="http://www.gnu.org/software/grep/"
distfiles="http://ftp.gnu.org/gnu/grep/grep-$version.tar.xz"
short_desc="The GNU grep utility - for use with xbps-src"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
checksum=16dfeb5013d8c9f21f40ccec0936f2c1c6a014c828d30488f0d5c6ef7b551162
post_install() {
rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man
if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then
rm -f ${DESTDIR}/usr/lib/charset.alias
fi
}