diff options
Diffstat (limited to 'libre-testing/grep/PKGBUILD')
-rw-r--r-- | libre-testing/grep/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libre-testing/grep/PKGBUILD b/libre-testing/grep/PKGBUILD new file mode 100644 index 000000000..14a30174c --- /dev/null +++ b/libre-testing/grep/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Sébastien Luttringer <seblu@archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +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 +} |