core/gawk/PKGBUILD

33 lines
840 B
Bash
Raw Normal View History

2010-03-13 23:25:19 +08:00
pkgname=gawk
2015-05-26 06:01:24 +08:00
pkgver=4.1.3
pkgrel=1
pkgdesc="The GNU awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code."
2015-05-26 06:01:24 +08:00
arch=('x86_64')
2014-11-17 21:48:53 +08:00
url="http://www.gnu.org/software/gawk/"
2010-03-13 23:25:19 +08:00
license=('GPL')
2015-05-26 06:01:24 +08:00
groups=('base' 'base-devel')
2014-11-17 21:48:53 +08:00
depends=('sh' 'glibc' 'mpfr')
2010-03-13 23:25:19 +08:00
provides=('awk')
2014-11-17 21:48:53 +08:00
install=gawk.install
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
2015-05-26 06:01:24 +08:00
md5sums=('55d37f4069502677f25d1340df8eec97'
2014-11-17 21:48:53 +08:00
'SKIP')
2015-05-26 06:01:24 +08:00
validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
2010-03-13 23:25:19 +08:00
build() {
2014-11-17 21:48:53 +08:00
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --libexecdir=/usr/lib --without-libsigsegv
make
}
2014-11-17 21:48:53 +08:00
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
2014-11-17 21:48:53 +08:00
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
2010-03-13 23:25:19 +08:00
}