summaryrefslogtreecommitdiff
path: root/core/gawk/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-09 00:01:09 +0000
committerroot <root@rshg054.dnsready.net>2012-04-09 00:01:09 +0000
commit4de1f7cfdca3531b7324f72b2f109384b2a3a856 (patch)
tree7fe243e8ad2bfcbaa4027aca963474964800c387 /core/gawk/PKGBUILD
parent5eb91336815b8ce54fbdb828555166b348738c49 (diff)
Mon Apr 9 00:01:09 UTC 2012
Diffstat (limited to 'core/gawk/PKGBUILD')
-rw-r--r--core/gawk/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/gawk/PKGBUILD b/core/gawk/PKGBUILD
index aadd346cf..9bf1c91ac 100644
--- a/core/gawk/PKGBUILD
+++ b/core/gawk/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 142110 2011-11-05 10:13:55Z tpowa $
+# $Id: PKGBUILD 155835 2012-04-07 08:07:16Z allan $
# Maintainer:
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=gawk
-pkgver=4.0.0
-pkgrel=2
+pkgver=4.0.1
+pkgrel=1
pkgdesc="GNU version of awk"
arch=('i686' 'x86_64')
url="http://www.gnu.org/directory/GNU/gawk.html"
@@ -13,8 +13,9 @@ groups=('base')
depends=('sh' 'glibc')
provides=('awk')
install=gawk.install
-source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('51e417b71287629940051e6f652c6492')
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('bab2bda483e9f32be65b43b8dab39fa5'
+ '7cf4e4896509c655dd00ecd4ca9098ef')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -26,7 +27,7 @@ build() {
check() {
cd ${srcdir}/${pkgname}-${pkgver}
- make -j1 check
+ make check
}
package() {
@@ -35,7 +36,6 @@ package() {
make DESTDIR=${pkgdir} install
install -dm755 ${pkgdir}/bin
- mv ${pkgdir}/usr/bin/gawk* ${pkgdir}/bin/
+ ln -sf /usr/bin/gawk ${pkgdir}/bin/
ln -sf gawk ${pkgdir}/bin/awk
- ln -sf /bin/gawk ${pkgdir}/usr/bin/
}