# $Id: PKGBUILD 149655 2012-02-08 23:59:22Z allan $ # Maintainer: Allan McRae # Contributor: judd pkgname=grep pkgver=2.10 pkgrel=2 pkgdesc="A string search utility" arch=('i686' 'x86_64') license=('GPL3') url="http://www.gnu.org/software/grep/grep.html" groups=('base') depends=('glibc' 'pcre' 'sh') makedepends=('texinfo') install=${pkgname}.install source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}) md5sums=('709915434d09f5db655e5ebd7fd6bb7f' '9ad5c390a6ad7f566c58db28ddb06aed') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --without-included-regex make } check() { cd ${srcdir}/${pkgname}-${pkgver} make check } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }