[arch-commits] Commit in gawk/repos (6 files)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Mon Oct 21 07:10:12 UTC 2013
Date: Monday, October 21, 2013 @ 09:10:11
Author: tpowa
Revision: 196916
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
gawk/repos/testing-i686/
gawk/repos/testing-i686/PKGBUILD
(from rev 196915, gawk/trunk/PKGBUILD)
gawk/repos/testing-i686/gawk.install
(from rev 196915, gawk/trunk/gawk.install)
gawk/repos/testing-x86_64/
gawk/repos/testing-x86_64/PKGBUILD
(from rev 196915, gawk/trunk/PKGBUILD)
gawk/repos/testing-x86_64/gawk.install
(from rev 196915, gawk/trunk/gawk.install)
-----------------------------+
testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-i686/gawk.install | 22 ++++++++++++++++++++++
testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/gawk.install | 22 ++++++++++++++++++++++
4 files changed, 120 insertions(+)
Copied: gawk/repos/testing-i686/PKGBUILD (from rev 196915, gawk/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-10-21 07:10:11 UTC (rev 196916)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gawk
+pkgver=4.1.0
+pkgrel=2
+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=('13e02513105417818a31ef375f9f9f42'
+ 'SKIP')
+
+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 196915, gawk/trunk/gawk.install)
===================================================================
--- testing-i686/gawk.install (rev 0)
+++ testing-i686/gawk.install 2013-10-21 07:10:11 UTC (rev 196916)
@@ -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 196915, gawk/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-10-21 07:10:11 UTC (rev 196916)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gawk
+pkgver=4.1.0
+pkgrel=2
+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=('13e02513105417818a31ef375f9f9f42'
+ 'SKIP')
+
+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 196915, gawk/trunk/gawk.install)
===================================================================
--- testing-x86_64/gawk.install (rev 0)
+++ testing-x86_64/gawk.install 2013-10-21 07:10:11 UTC (rev 196916)
@@ -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