diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/gawk/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/gawk/PKGBUILD')
-rw-r--r-- | abs/core-testing/gawk/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core-testing/gawk/PKGBUILD b/abs/core-testing/gawk/PKGBUILD new file mode 100644 index 0000000..976a574 --- /dev/null +++ b/abs/core-testing/gawk/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: dorphell <dorphell@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +pkgname=gawk +pkgver=3.1.6 +pkgrel=11 +pkgdesc="Gnu version of awk" +arch=(i686 x86_64) +url="http://www.gnu.org/directory/GNU/gawk.html" +license=('GPL') +groups=('base') +provides=('awk') +replaces=('mawk') +source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz) +depends=('bash' 'glibc') +md5sums=('b237751aef53c9ead9644e376bc53386') + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + make DESTDIR=$startdir/pkg install + mv $startdir/pkg/usr/libexec $startdir/pkg/usr/lib + mkdir $startdir/pkg/bin + mv $startdir/pkg/usr/bin/gawk* $startdir/pkg/bin/ + mv $startdir/pkg/usr/bin/awk $startdir/pkg/bin/ + # don't use hardlinks to manpages, it messes up our compression stuff + rm $startdir/pkg/usr/share/man/man1/pgawk.1 + ln -s gawk.1 $startdir/pkg/usr/share/man/man1/pgawk.1 + ln -s gawk.1 $startdir/pkg/usr/share/man/man1/awk.1 +} |