PKGBUILD 802 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Mainainer: Sébastien Luttringer <seblu@archlinux.org>
  2. # Contributor: Allan McRae <allan@archlinux.org>
  3. # Contributor: Andreas Radke <andyrtr@archlinux.org>
  4. pkgname=diffutils
  5. pkgver=3.6
  6. pkgrel=1
  7. pkgdesc='Utility programs used for creating patch files'
  8. arch=(x86_64 ppc64le)
  9. url='https://www.gnu.org/software/diffutils'
  10. license=('GPL3')
  11. groups=('base')
  12. depends=('glibc' 'bash')
  13. validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering
  14. source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
  15. md5sums=('07cf286672ced26fba54cd0313bdc071'
  16. 'SKIP')
  17. build() {
  18. cd $pkgname-$pkgver
  19. ./configure --prefix=/usr
  20. make
  21. }
  22. check() {
  23. cd $pkgname-$pkgver
  24. make check
  25. }
  26. package() {
  27. cd $pkgname-$pkgver
  28. make DESTDIR="$pkgdir" install
  29. }
  30. # vim:set ts=2 sw=2 et: