void-packages/srcpkgs/chroot-grep/template

24 lines
745 B
Plaintext

# Build template for 'chroot-grep'.
pkgname=chroot-grep
version=2.18
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=e6436e5077fa1497feccc8feaabd3f507b172369bf120fbc9e4874bba81be720
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
}