summaryrefslogtreecommitdiffstats
path: root/abs/core/grep/PKGBUILD
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/core/grep/PKGBUILD
parent3ca405f85ad235d170859610b72fffba13b7f142 (diff)
downloadlinhes_pkgbuild-bb92086e89a343649e7aab3372b08c0c337d90bd.zip
linhes_pkgbuild-bb92086e89a343649e7aab3372b08c0c337d90bd.tar.gz
linhes_pkgbuild-bb92086e89a343649e7aab3372b08c0c337d90bd.tar.bz2
grep: Bump to latest.
Diffstat (limited to 'abs/core/grep/PKGBUILD')
-rw-r--r--abs/core/grep/PKGBUILD14
1 files changed, 9 insertions, 5 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
}