archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gawk / trunk / PKGBUILD
blob28c1595ea28a2770f1cde7285b185f5775e7197b
1 # Maintainer:
2 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 pkgname=gawk
5 pkgver=5.1.1
6 pkgrel=1
7 pkgdesc="GNU version of awk"
8 arch=('x86_64')
9 url="https://www.gnu.org/software/gawk/"
10 license=('GPL')
11 groups=('base-devel')
12 depends=('sh' 'glibc' 'mpfr')
13 provides=('awk')
14 source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
15 validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
16 md5sums=('f4aa3fe2dd802cc625c5120a6148e91b'
17          'SKIP')
19 build() {
20   cd ${pkgname}-${pkgver}
21   ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --without-libsigsegv
22   make
25 check() {
26   cd ${pkgname}-${pkgver}
27   make check
30 package() {
31   cd ${pkgname}-${pkgver}
32   make DESTDIR="${pkgdir}" install