[arch-commits] Commit in gawk/repos (5 files)
Allan McRae
allan at archlinux.org
Sat Apr 7 08:07:15 UTC 2012
Date: Saturday, April 7, 2012 @ 04:07:15
Author: allan
Revision: 155834
db-move: moved gawk from [testing] to [core] (i686)
Added:
gawk/repos/core-i686/PKGBUILD
(from rev 155832, gawk/repos/testing-i686/PKGBUILD)
gawk/repos/core-i686/gawk.install
(from rev 155832, gawk/repos/testing-i686/gawk.install)
Deleted:
gawk/repos/core-i686/PKGBUILD
gawk/repos/core-i686/gawk.install
gawk/repos/testing-i686/
--------------+
PKGBUILD | 82 ++++++++++++++++++++++++++++-----------------------------
gawk.install | 44 +++++++++++++++---------------
2 files changed, 63 insertions(+), 63 deletions(-)
Deleted: core-i686/PKGBUILD
===================================================================
--- core-i686/PKGBUILD 2012-04-07 08:07:13 UTC (rev 155833)
+++ core-i686/PKGBUILD 2012-04-07 08:07:15 UTC (rev 155834)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=gawk
-pkgver=4.0.0
-pkgrel=2
-pkgdesc="GNU version of awk"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/directory/GNU/gawk.html"
-license=('GPL')
-groups=('base')
-depends=('sh' 'glibc')
-provides=('awk')
-install=gawk.install
-source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('51e417b71287629940051e6f652c6492')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- ./configure --prefix=/usr --libexecdir=/usr/lib
- make
-}
-
-check() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- make -j1 check
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- make DESTDIR=${pkgdir} install
-
- install -dm755 ${pkgdir}/bin
- mv ${pkgdir}/usr/bin/gawk* ${pkgdir}/bin/
- ln -sf gawk ${pkgdir}/bin/awk
- ln -sf /bin/gawk ${pkgdir}/usr/bin/
-}
Copied: gawk/repos/core-i686/PKGBUILD (from rev 155832, gawk/repos/testing-i686/PKGBUILD)
===================================================================
--- core-i686/PKGBUILD (rev 0)
+++ core-i686/PKGBUILD 2012-04-07 08:07:15 UTC (rev 155834)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gawk
+pkgver=4.0.1
+pkgrel=1
+pkgdesc="GNU version of awk"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/directory/GNU/gawk.html"
+license=('GPL')
+groups=('base')
+depends=('sh' 'glibc')
+provides=('awk')
+install=gawk.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('bab2bda483e9f32be65b43b8dab39fa5'
+ '7cf4e4896509c655dd00ecd4ca9098ef')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr --libexecdir=/usr/lib
+ 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
+}
Deleted: core-i686/gawk.install
===================================================================
--- core-i686/gawk.install 2012-04-07 08:07:13 UTC (rev 155833)
+++ core-i686/gawk.install 2012-04-07 08:07:15 UTC (rev 155834)
@@ -1,22 +0,0 @@
-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/core-i686/gawk.install (from rev 155832, gawk/repos/testing-i686/gawk.install)
===================================================================
--- core-i686/gawk.install (rev 0)
+++ core-i686/gawk.install 2012-04-07 08:07:15 UTC (rev 155834)
@@ -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