diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-07-07 02:29:26 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-07-07 02:29:26 -0300 |
commit | 3357db80ffa8a795fb5cdad0fc726470887706b0 (patch) | |
tree | 461a9d95f958d88aed12f371328b20d87b69323e /core/gawk/PKGBUILD | |
parent | 1921cc4951557545f38946cbed66431f42af26b4 (diff) | |
parent | ff64a82ccedcb1690d2f0140d63432aa49676591 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/perl-file-path-expand/PKGBUILD
community/perl-file-slurp/PKGBUILD
community/perl-getopt-argvfile/PKGBUILD
community/perl-graphics-colornames/PKGBUILD
community/perl-html-tableextract/PKGBUILD
community/perl-xml-regexp/PKGBUILD
community/perlio-eol/PKGBUILD
community/virtualbox/PKGBUILD
community/xemacs/PKGBUILD
core/gawk/PKGBUILD
extra/bogofilter/PKGBUILD
extra/feh/PKGBUILD
extra/gnome-phone-manager/PKGBUILD
extra/redland/PKGBUILD
extra/ruby/PKGBUILD
extra/samba/PKGBUILD
extra/squirrelmail/PKGBUILD
extra/subversion/PKGBUILD
extra/vsftpd/PKGBUILD
extra/xawtv/PKGBUILD
multilib-testing/lib32-mesa/PKGBUILD
multilib/lib32-glib2/PKGBUILD
testing/mesa/PKGBUILD
Diffstat (limited to 'core/gawk/PKGBUILD')
-rw-r--r-- | core/gawk/PKGBUILD | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/core/gawk/PKGBUILD b/core/gawk/PKGBUILD index 26c039ca7..6782d02f1 100644 --- a/core/gawk/PKGBUILD +++ b/core/gawk/PKGBUILD @@ -1,36 +1,41 @@ -# $Id: PKGBUILD 100064 2010-11-20 03:46:49Z allan $ +# $Id: PKGBUILD 130241 2011-07-04 15:07:06Z allan $ # Maintainer: # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=gawk -pkgver=3.1.8 -pkgrel=2 -pkgdesc="Gnu version of awk" -arch=(i686 x86_64 'mips64el') +pkgver=4.0.0 +pkgrel=1 +pkgdesc="GNU version of awk" +arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/directory/GNU/gawk.html" license=('GPL') groups=('base') +depends=('sh' 'glibc') provides=('awk') install=gawk.install source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) -depends=('sh' 'glibc') -md5sums=('35937a0f83f0efe7a8c2dee635624784') +md5sums=('51e417b71287629940051e6f652c6492') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr + ./configure --prefix=/usr --libexecdir=/usr/lib make } +check() { + cd ${srcdir}/${pkgname}-${pkgver} + + make -j1 check +} + package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install - mv ${pkgdir}/usr/libexec ${pkgdir}/usr/lib - install -dm755 ${pkgdir}/bin + + install -dm755 ${pkgdir}/bin mv ${pkgdir}/usr/bin/gawk* ${pkgdir}/bin/ - mv ${pkgdir}/usr/bin/awk ${pkgdir}/bin/ - cd ${pkgdir}/usr/bin/ - ln -sf /bin/gawk gawk + ln -sf gawk ${pkgdir}/bin/awk + ln -sf /bin/gawk ${pkgdir}/usr/bin/ } |