Date: Saturday, April 7, 2012 @ 04:07:16 Author: allan Revision: 155835
db-move: moved gawk from [testing] to [core] (x86_64) Added: gawk/repos/core-x86_64/PKGBUILD (from rev 155832, gawk/repos/testing-x86_64/PKGBUILD) gawk/repos/core-x86_64/gawk.install (from rev 155832, gawk/repos/testing-x86_64/gawk.install) Deleted: gawk/repos/core-x86_64/PKGBUILD gawk/repos/core-x86_64/gawk.install gawk/repos/testing-x86_64/ --------------+ PKGBUILD | 82 ++++++++++++++++++++++++++++----------------------------- gawk.install | 44 +++++++++++++++--------------- 2 files changed, 63 insertions(+), 63 deletions(-) Deleted: core-x86_64/PKGBUILD =================================================================== --- core-x86_64/PKGBUILD 2012-04-07 08:07:15 UTC (rev 155834) +++ core-x86_64/PKGBUILD 2012-04-07 08:07:16 UTC (rev 155835) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer: -# Contributor: Tom Newsom <jeeps...@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-x86_64/PKGBUILD (from rev 155832, gawk/repos/testing-x86_64/PKGBUILD) =================================================================== --- core-x86_64/PKGBUILD (rev 0) +++ core-x86_64/PKGBUILD 2012-04-07 08:07:16 UTC (rev 155835) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: +# Contributor: Tom Newsom <jeeps...@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-x86_64/gawk.install =================================================================== --- core-x86_64/gawk.install 2012-04-07 08:07:15 UTC (rev 155834) +++ core-x86_64/gawk.install 2012-04-07 08:07:16 UTC (rev 155835) @@ -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-x86_64/gawk.install (from rev 155832, gawk/repos/testing-x86_64/gawk.install) =================================================================== --- core-x86_64/gawk.install (rev 0) +++ core-x86_64/gawk.install 2012-04-07 08:07:16 UTC (rev 155835) @@ -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: