PKGBUILD 1004 B

123456789101112131415161718192021222324252627282930313233
  1. # Maintainer (Arch):
  2. # Contributor (Arch): Tom Newsom <Jeepster@gmx.co.uk>
  3. # Maintainer: André Silva <emulatorman@hyperbola.info>
  4. # Contributor: Márcio Silva <coadde@hyperbola.info>
  5. pkgname=gawk
  6. pkgver=5.0.1
  7. pkgrel=2
  8. pkgdesc="GNU version of awk"
  9. arch=('i686' 'x86_64')
  10. url="https://www.gnu.org/software/gawk/"
  11. license=('GPL-3')
  12. groups=('base' 'base-devel')
  13. depends=('sh' 'mpfr')
  14. makedepends=('quilt')
  15. provides=('awk')
  16. source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
  17. sha512sums=('1aaf0c3a11f2ae28976693b0f424606bc04146197ecdca6bc49d8b30d8a34ef4538309e4fa7b6e28df4bf58242ce70bc7e73b53b9dacaad87ecdaddb4389dd8f'
  18. 'SKIP')
  19. validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
  20. build() {
  21. cd ${pkgname}-${pkgver}
  22. ./configure --prefix=/usr --sysconfdir=/etc --without-libsigsegv
  23. make
  24. }
  25. package() {
  26. cd ${pkgname}-${pkgver}
  27. make DESTDIR="${pkgdir}" install
  28. install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
  29. }