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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Thu Jan 10 15:02:20 UTC 2019


    Date: Thursday, January 10, 2019 @ 15:02:18
  Author: bpiotrowski
Revision: 343411

archrelease: copy trunk to staging-x86_64

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

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

Copied: gawk/repos/staging-x86_64/PKGBUILD (from rev 343410, gawk/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-01-10 15:02:18 UTC (rev 343411)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gawk
+pkgver=4.2.1
+pkgrel=2
+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=('0256724a0af50cb83ac92f833488673d'
+         '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