[arch-commits] Commit in gawk/repos (6 files)

Tobias Powalowski tpowa at archlinux.org
Thu May 21 06:01:27 UTC 2015


    Date: Thursday, May 21, 2015 @ 08:01:26
  Author: tpowa
Revision: 239604

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gawk/repos/testing-i686/
  gawk/repos/testing-i686/PKGBUILD
    (from rev 239603, gawk/trunk/PKGBUILD)
  gawk/repos/testing-i686/gawk.install
    (from rev 239603, gawk/trunk/gawk.install)
  gawk/repos/testing-x86_64/
  gawk/repos/testing-x86_64/PKGBUILD
    (from rev 239603, gawk/trunk/PKGBUILD)
  gawk/repos/testing-x86_64/gawk.install
    (from rev 239603, gawk/trunk/gawk.install)

-----------------------------+
 testing-i686/PKGBUILD       |   39 +++++++++++++++++++++++++++++++++++++++
 testing-i686/gawk.install   |   22 ++++++++++++++++++++++
 testing-x86_64/PKGBUILD     |   39 +++++++++++++++++++++++++++++++++++++++
 testing-x86_64/gawk.install |   22 ++++++++++++++++++++++
 4 files changed, 122 insertions(+)

Copied: gawk/repos/testing-i686/PKGBUILD (from rev 239603, gawk/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-05-21 06:01:26 UTC (rev 239604)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gawk
+pkgver=4.1.3
+pkgrel=1
+pkgdesc="GNU version of awk"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gawk/"
+license=('GPL')
+groups=('base' 'base-devel')
+depends=('sh' 'glibc' 'mpfr')
+provides=('awk')
+install=gawk.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('55d37f4069502677f25d1340df8eec97'
+         'SKIP')
+validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --libexecdir=/usr/lib --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
+}

Copied: gawk/repos/testing-i686/gawk.install (from rev 239603, gawk/trunk/gawk.install)
===================================================================
--- testing-i686/gawk.install	                        (rev 0)
+++ testing-i686/gawk.install	2015-05-21 06:01:26 UTC (rev 239604)
@@ -0,0 +1,22 @@
+infodir=usr/share/info
+filelist=(gawk.info.gz gawkinet.info.gz)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gawk/repos/testing-x86_64/PKGBUILD (from rev 239603, gawk/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-05-21 06:01:26 UTC (rev 239604)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gawk
+pkgver=4.1.3
+pkgrel=1
+pkgdesc="GNU version of awk"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gawk/"
+license=('GPL')
+groups=('base' 'base-devel')
+depends=('sh' 'glibc' 'mpfr')
+provides=('awk')
+install=gawk.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('55d37f4069502677f25d1340df8eec97'
+         'SKIP')
+validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --libexecdir=/usr/lib --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
+}

Copied: gawk/repos/testing-x86_64/gawk.install (from rev 239603, gawk/trunk/gawk.install)
===================================================================
--- testing-x86_64/gawk.install	                        (rev 0)
+++ testing-x86_64/gawk.install	2015-05-21 06:01:26 UTC (rev 239604)
@@ -0,0 +1,22 @@
+infodir=usr/share/info
+filelist=(gawk.info.gz gawkinet.info.gz)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list