PKGBUILD 795 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Maintainer: Sébastien Luttringer <seblu@archlinux.org>
  2. # Contributor: Allan McRae <allan@archlinux.org>
  3. # Contributor: judd <jvinet@zeroflux.org>
  4. pkgname=grep
  5. pkgver=3.1
  6. pkgrel=1
  7. pkgdesc='A string search utility'
  8. arch=(x86_64 ppc64le)
  9. license=('GPL3')
  10. url='https://www.gnu.org/software/grep/'
  11. groups=('base' 'base-devel')
  12. depends=('glibc' 'pcre')
  13. makedepends=('texinfo')
  14. validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering
  15. source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
  16. md5sums=('feca7b3e7c7f4aab2b42ecbfc513b070'
  17. 'SKIP')
  18. build() {
  19. cd $pkgname-$pkgver
  20. ./configure --prefix=/usr --without-included-regex
  21. make
  22. }
  23. check() {
  24. cd $pkgname-$pkgver
  25. make check
  26. }
  27. package() {
  28. cd $pkgname-$pkgver
  29. make DESTDIR=$pkgdir install
  30. }