# Maintainer: Sébastien Luttringer # Contributor: Allan McRae # Contributor: judd pkgname=grep pkgver=3.1 pkgrel=1 pkgdesc='A string search utility' arch=(x86_64 ppc64le) license=('GPL3') url='https://www.gnu.org/software/grep/' groups=('base' 'base-devel') depends=('glibc' 'pcre') makedepends=('texinfo') validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}) md5sums=('feca7b3e7c7f4aab2b42ecbfc513b070' 'SKIP') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --without-included-regex make } check() { cd $pkgname-$pkgver make check } package() { cd $pkgname-$pkgver make DESTDIR=$pkgdir install }