[arch-commits] Commit in gawk/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Jan 18 20:40:13 UTC 2018


    Date: Thursday, January 18, 2018 @ 20:40:09
  Author: heftig
Revision: 315102

archrelease: copy trunk to staging-x86_64

Added:
  gawk/repos/staging-x86_64/
  gawk/repos/staging-x86_64/PKGBUILD
    (from rev 315101, gawk/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: gawk/repos/staging-x86_64/PKGBUILD (from rev 315101, gawk/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-01-18 20:40:09 UTC (rev 315102)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gawk
+pkgver=4.2.0
+pkgrel=3
+pkgdesc="GNU version of awk"
+arch=('x86_64')
+url="http://www.gnu.org/software/gawk/"
+license=('GPL')
+groups=('base' 'base-devel')
+depends=('sh' 'glibc' 'mpfr')
+provides=('awk')
+source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('0b598c31bc703d66082bd958d4189980'
+         'SKIP')
+validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --without-libsigsegv
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  #install -dm755 ${pkgdir}/bin
+  #ln -sf /usr/bin/gawk ${pkgdir}/bin/
+  #ln -sf gawk ${pkgdir}/bin/awk
+}



More information about the arch-commits mailing list