# Build template for 'chroot-grep'.
pkgname=chroot-grep
version=2.10
revision=4
wrksrc=grep-${version}
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"
build_style=gnu-configure
configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
checksum=6c796773f23bcd9bb751165bb9ce13a04d678e6d426ca59843e386f99dc77ab3
long_desc="
 GNU grep is based on a fast lazy-state deterministic matcher (about twice
 as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper search for
 a fixed string that eliminates impossible text from being considered by the
 full regexp matcher without necessarily having to look at every character.
 The result is typically many times faster than Unix grep or egrep.

 This package is only meant to be used with xbps-src exclusively, you probably
 don't have to install it manually."

bootstrap=yes
conflicts="grep>=0"
provides="grep-${version}"

post_install() {
	rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man
}
