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

Tobias Powalowski tpowa at archlinux.org
Wed Apr 29 13:06:12 UTC 2015


    Date: Wednesday, April 29, 2015 @ 15:06:12
  Author: tpowa
Revision: 238253

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

Added:
  gawk/repos/testing-i686/
  gawk/repos/testing-i686/PKGBUILD
    (from rev 238252, gawk/trunk/PKGBUILD)
  gawk/repos/testing-i686/gawk.install
    (from rev 238252, gawk/trunk/gawk.install)
  gawk/repos/testing-x86_64/
  gawk/repos/testing-x86_64/PKGBUILD
    (from rev 238252, gawk/trunk/PKGBUILD)
  gawk/repos/testing-x86_64/gawk.install
    (from rev 238252, 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 238252, gawk/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-04-29 13:06:12 UTC (rev 238253)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gawk
+pkgver=4.1.2
+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=('c72124f8cf44e2f2d946afb281b9e125'
+         '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 238252, gawk/trunk/gawk.install)
===================================================================
--- testing-i686/gawk.install	                        (rev 0)
+++ testing-i686/gawk.install	2015-04-29 13:06:12 UTC (rev 238253)
@@ -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 238252, gawk/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-04-29 13:06:12 UTC (rev 238253)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gawk
+pkgver=4.1.2
+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=('c72124f8cf44e2f2d946afb281b9e125'
+         '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 238252, gawk/trunk/gawk.install)
===================================================================
--- testing-x86_64/gawk.install	                        (rev 0)
+++ testing-x86_64/gawk.install	2015-04-29 13:06:12 UTC (rev 238253)
@@ -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