From d5ed024f3775fbfbf74d91459bda99a0a30669f5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 14 Jan 2014 10:42:21 +0100 Subject: [PATCH] chroot-grep: update to 2.16. --- srcpkgs/chroot-grep/template | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/srcpkgs/chroot-grep/template b/srcpkgs/chroot-grep/template index c3f8e50788..e619541e81 100644 --- a/srcpkgs/chroot-grep/template +++ b/srcpkgs/chroot-grep/template @@ -1,30 +1,23 @@ # Build template for 'chroot-grep'. pkgname=chroot-grep -version=2.10 -revision=4 -build_style=gnu-configure +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" -configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep" maintainer="Juan RP " 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}" +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 }