PKGBUILD 895 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Maintainer:
  2. # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
  3. pkgname=gawk
  4. pkgver=4.2.1
  5. pkgrel=1
  6. pkgdesc="GNU version of awk"
  7. arch=(x86_64 ppc64le)
  8. url="http://www.gnu.org/software/gawk/"
  9. license=('GPL')
  10. groups=('base' 'base-devel')
  11. depends=('sh' 'glibc' 'mpfr')
  12. provides=('awk')
  13. source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
  14. md5sums=('0256724a0af50cb83ac92f833488673d'
  15. 'SKIP')
  16. validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
  17. build() {
  18. cd ${srcdir}/${pkgname}-${pkgver}
  19. ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --without-libsigsegv
  20. make
  21. }
  22. check() {
  23. cd ${srcdir}/${pkgname}-${pkgver}
  24. make check
  25. }
  26. package() {
  27. cd ${srcdir}/${pkgname}-${pkgver}
  28. make DESTDIR=${pkgdir} install
  29. #install -dm755 ${pkgdir}/bin
  30. #ln -sf /usr/bin/gawk ${pkgdir}/bin/
  31. #ln -sf gawk ${pkgdir}/bin/awk
  32. }