summaryrefslogtreecommitdiff
path: root/core/gawk
diff options
context:
space:
mode:
Diffstat (limited to 'core/gawk')
-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/
}