summaryrefslogtreecommitdiffstats
path: root/grep/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'grep/Pkgfile')
-rwxr-xr-xgrep/Pkgfile24
1 files changed, 13 insertions, 11 deletions
diff --git a/grep/Pkgfile b/grep/Pkgfile
index 2601c697b..39165905a 100755
--- a/grep/Pkgfile
+++ b/grep/Pkgfile
@@ -4,18 +4,20 @@
# Packager: thierryn1 at hispeed dot ch
name=grep
-version=2.8
+version=2.11
release=1
-source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz )
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
-cd $name-$version
-./configure --prefix=/usr --mandir=/usr/share/man \
- --infodir=/usr/share/info --without-included-regex \
- --bindir=/bin
-make
-make DESTDIR=$PKG install
-if [ -f $PKG/usr/share/info/dir ]; then
- rm $PKG/usr/share/info/dir
-fi
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --bindir=/bin \
+ --without-included-regex
+ make
+ make DESTDIR=$PKG install
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
}