[arch-commits] Commit in gawk/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Wed Apr 4 05:15:08 EDT 2012


    Date: Wednesday, April 4, 2012 @ 05:15:08
  Author: allan
Revision: 155495

upgpkg: gawk 4.0.1-1

upstream update, kepp binaries in /usr/bin with only symlinks in /bin

Modified:
  gawk/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-04 09:05:52 UTC (rev 155494)
+++ PKGBUILD	2012-04-04 09:15:08 UTC (rev 155495)
@@ -3,8 +3,8 @@
 # Contributor: Tom Newsom <Jeepster at 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 @@
 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 @@
 check() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  make -j1 check
+  make check
 }
 
 package() {
@@ -35,7 +36,6 @@
   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/
 }



More information about the arch-commits mailing list