updated on Sat Jan 21 08:01:15 UTC 2012
[aur-mirror.git] / gawk3 / PKGBUILD
blobf98ae589ff996628090b75b4921dc133936021a4
1 # $Id: PKGBUILD 100055 2010-11-20 03:29:05Z stephane $
2 # Maintainer: dorphell <dorphell@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 pkgname=gawk3
6 _pkgname=gawk
7 pkgver=3.1.8
8 pkgrel=2
9 pkgdesc="Gnu version of awk. Version 3.1.8. Binary and manpage only."
10 arch=(i686 x86_64)
11 url="http://www.gnu.org/directory/GNU/gawk.html"
12 license=('GPL')
13 groups=('base')
14 provides=('awk')
15 install=gawk.install
16 source=(ftp://ftp.gnu.org/pub/gnu/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
17 depends=('sh' 'glibc')
18 md5sums=('35937a0f83f0efe7a8c2dee635624784')
20 build() {
21   cd "${srcdir}/${_pkgname}-${pkgver}"
23   ./configure --prefix=/usr
24   make 
27 package() {
28   cd "${srcdir}/${_pkgname}-${pkgver}"
30   install -Dm755 gawk "$pkgdir/usr/bin/gawk3"
31   install -Dm644 doc/gawk.1 "$pkgdir/usr/share/man/man1/gawk3.1"