summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-06 05:56:47 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-06 05:56:47 (GMT)
commitbb92086e89a343649e7aab3372b08c0c337d90bd (patch)
tree1640580c56cba054d2ccf179803030f8e0adfee0 /abs
parent3ca405f85ad235d170859610b72fffba13b7f142 (diff)
downloadlinhes_pkgbuild-bb92086e89a343649e7aab3372b08c0c337d90bd.zip
linhes_pkgbuild-bb92086e89a343649e7aab3372b08c0c337d90bd.tar.gz
linhes_pkgbuild-bb92086e89a343649e7aab3372b08c0c337d90bd.tar.bz2
grep: Bump to latest.
Diffstat (limited to 'abs')
-rw-r--r--abs/core/grep/PKGBUILD14
-rw-r--r--abs/core/grep/grep.install2
2 files changed, 10 insertions, 6 deletions
diff --git a/abs/core/grep/PKGBUILD b/abs/core/grep/PKGBUILD
index ee4628f..918ef58 100644
--- a/abs/core/grep/PKGBUILD
+++ b/abs/core/grep/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 91020 2010-09-21 03:26:36Z allan $
+# $Id$
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=grep
-pkgver=2.7
+pkgver=2.9
pkgrel=1
pkgdesc="A string search utility"
arch=('i686' 'x86_64')
@@ -14,16 +14,20 @@ depends=('glibc' 'pcre' 'sh')
makedepends=('texinfo')
install=${pkgname}.install
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz)
-md5sums=('6dd9931a52501519d7779a27cf953326')
+md5sums=('25e41b2aa201104354740961ef36005a')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --bindir=/bin --without-included-regex
- make || return 1
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
make check
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
+ make DESTDIR=${pkgdir} install
}
diff --git a/abs/core/grep/grep.install b/abs/core/grep/grep.install
index ba97d89..7cd3130 100644
--- a/abs/core/grep/grep.install
+++ b/abs/core/grep/grep.install
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
filelist=(grep.info)
post_install() {