PKGBUILD 896 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Maintainer: Allan McRae <allan@archlinux.org>
  2. # Contributor: judd <jvinet@zeroflux.org>
  3. pkgname=make
  4. pkgver=4.2.1
  5. pkgrel=2
  6. pkgdesc="GNU make utility to maintain groups of programs"
  7. arch=('x86_64' 'ppc64le')
  8. url="http://www.gnu.org/software/make"
  9. license=('GPL3')
  10. groups=('base-devel')
  11. depends=('glibc' 'guile')
  12. source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}
  13. guile-2.2.patch)
  14. md5sums=('15b012617e7c44c0ed482721629577ac'
  15. 'SKIP'
  16. '89bbbe3f806f208608e117665feb562b')
  17. validpgpkeys=('3D2554F0A15338AB9AF1BB9D96B047156338B6D4') # Paul Smith
  18. prepare() {
  19. cd ${pkgname}-${pkgver}
  20. patch -p1 -i ${srcdir}/guile-2.2.patch
  21. autoreconf -fi
  22. }
  23. build() {
  24. cd ${pkgname}-${pkgver}
  25. ./configure --prefix=/usr
  26. make
  27. }
  28. check() {
  29. cd ${pkgname}-${pkgver}
  30. make -k check
  31. }
  32. package() {
  33. cd ${pkgname}-${pkgver}
  34. make DESTDIR=${pkgdir} install
  35. }