[arch-commits] Commit in gzip/repos (6 files)
Date: Sunday, April 17, 2016 @ 00:23:17 Author: seblu Revision: 265075 archrelease: copy trunk to testing-i686, testing-x86_64 Added: gzip/repos/testing-i686/ gzip/repos/testing-i686/PKGBUILD (from rev 265074, gzip/trunk/PKGBUILD) gzip/repos/testing-i686/gzip.install (from rev 265074, gzip/trunk/gzip.install) gzip/repos/testing-x86_64/ gzip/repos/testing-x86_64/PKGBUILD (from rev 265074, gzip/trunk/PKGBUILD) gzip/repos/testing-x86_64/gzip.install (from rev 265074, gzip/trunk/gzip.install) -+ testing-i686/PKGBUILD | 37 + testing-i686/gzip.install | 22 ++ testing-x86_64/PKGBUILD | 37 + testing-x86_64/gzip.install | 22 ++ 4 files changed, 118 insertions(+) Copied: gzip/repos/testing-i686/PKGBUILD (from rev 265074, gzip/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-04-16 22:23:17 UTC (rev 265075) @@ -0,0 +1,37 @@ +# $Id$ +# Mainainer: Sébastien "Seblu" Luttringer+# Contributor: Allan McRae +# Contributor: judd + +pkgname=gzip +pkgver=1.7 +pkgrel=1 +pkgdesc='GNU compression utility' +arch=('i686' 'x86_64') +url='http://www.gnu.org/software/gzip/' +license=('GPL3') +groups=('base' 'base-devel') +depends=('glibc' 'bash' 'less') +install=gzip.install +validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000B') # Jim Meyering +source=("ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz"{,.sig}) +md5sums=('d9ae97206a703a20e6c1c868deb3eb47' + 'SKIP') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make prefix="$pkgdir/usr" install +} + +# vim:set ts=2 sw=2 et: Copied: gzip/repos/testing-i686/gzip.install (from rev 265074, gzip/trunk/gzip.install) === --- testing-i686/gzip.install (rev 0) +++ testing-i686/gzip.install 2016-04-16 22:23:17 UTC (rev 265075) @@ -0,0 +1,22 @@ +# vim:set ts=2 sw=2 et: + +infodir=usr/share/info +filelist=(gzip.info) + +post_install() { + [[ -x usr/bin/install-info ]] || return 0 + for file in "${filelist[@]}"; do +install-info "$infodir/$file.gz" "$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.gz" "$infodir/dir" 2> /dev/null + done +} Copied: gzip/repos/testing-x86_64/PKGBUILD (from rev 265074, gzip/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-04-16 22:23:17 UTC (rev 265075) @@ -0,0 +1,37 @@ +# $Id$ +# Mainainer: Sébastien "Seblu" Luttringer +# Contributor: Allan McRae +# Contributor: judd + +pkgname=gzip +pkgver=1.7 +pkgrel=1 +pkgdesc='GNU compression utility' +arch=('i686' 'x86_64') +url='http://www.gnu.org/software/gzip/' +license=('GPL3') +groups=('base' 'base-devel') +depends=('glibc' 'bash' 'less') +install=gzip.install +validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000B') # Jim Meyering +source=("ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz"{,.sig}) +md5sums=('d9ae97206a703a20e6c1c868deb3eb47' + 'SKIP') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make prefix="$pkgdir/usr" install +} + +# vim:set ts=2 sw=2 et: Copied: gzip/repos/testing-x86_64/gzip.install (from rev 265074, gzip/trunk/gzip.install) === --- testing-x86_64/gzip.install (rev 0) +++ testing-x86_64/gzip.install 2016-04-16 22:23:17 UTC (rev 265075) @@ -0,0 +1,22 @@ +# vim:set ts=2 sw=2 et: + +infodir=usr/share/info +filelist=(gzip.info) + +post_install() { + [[ -x usr/bin/install-info ]] || return 0 + for file in "${filelist[@]}"; do +install-info "$infodir/$file.gz" "$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.gz" "$infodir/dir" 2> /dev/null + done +}
[arch-commits] Commit in gzip/repos (6 files)
Date: Sunday, January 27, 2013 @ 13:08:18 Author: allan Revision: 176089 archrelease: copy trunk to testing-i686, testing-x86_64 Added: gzip/repos/testing-i686/ gzip/repos/testing-i686/PKGBUILD (from rev 176088, gzip/trunk/PKGBUILD) gzip/repos/testing-i686/gzip.install (from rev 176088, gzip/trunk/gzip.install) gzip/repos/testing-x86_64/ gzip/repos/testing-x86_64/PKGBUILD (from rev 176088, gzip/trunk/PKGBUILD) gzip/repos/testing-x86_64/gzip.install (from rev 176088, gzip/trunk/gzip.install) -+ testing-i686/PKGBUILD | 33 + testing-i686/gzip.install | 15 +++ testing-x86_64/PKGBUILD | 33 + testing-x86_64/gzip.install | 15 +++ 4 files changed, 96 insertions(+) Copied: gzip/repos/testing-i686/PKGBUILD (from rev 176088, gzip/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2013-01-27 12:08:18 UTC (rev 176089) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: judd jvi...@zeroflux.org + +pkgname=gzip +pkgver=1.5 +pkgrel=2 +pkgdesc=GNU compression utility +arch=('i686' 'x86_64') +url=http://www.gnu.org/software/gzip/; +license=('GPL3') +groups=('base' 'base-devel') +depends=('glibc' 'bash') +install=gzip.install +source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig}) +md5sums=('2a431e169b6f62f7332ef6d47cc53bae' + '2de95937a3f65137acf9c55d4ad0447a') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make prefix=${pkgdir}/usr install +} Copied: gzip/repos/testing-i686/gzip.install (from rev 176088, gzip/trunk/gzip.install) === --- testing-i686/gzip.install (rev 0) +++ testing-i686/gzip.install 2013-01-27 12:08:18 UTC (rev 176089) @@ -0,0 +1,15 @@ +infodir=usr/share/info + +post_install() { + [ -x usr/bin/install-info ] || return 0 + usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2 /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2 /dev/null +} Copied: gzip/repos/testing-x86_64/PKGBUILD (from rev 176088, gzip/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2013-01-27 12:08:18 UTC (rev 176089) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: judd jvi...@zeroflux.org + +pkgname=gzip +pkgver=1.5 +pkgrel=2 +pkgdesc=GNU compression utility +arch=('i686' 'x86_64') +url=http://www.gnu.org/software/gzip/; +license=('GPL3') +groups=('base' 'base-devel') +depends=('glibc' 'bash') +install=gzip.install +source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig}) +md5sums=('2a431e169b6f62f7332ef6d47cc53bae' + '2de95937a3f65137acf9c55d4ad0447a') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make prefix=${pkgdir}/usr install +} Copied: gzip/repos/testing-x86_64/gzip.install (from rev 176088, gzip/trunk/gzip.install) === --- testing-x86_64/gzip.install (rev 0) +++ testing-x86_64/gzip.install 2013-01-27 12:08:18 UTC (rev 176089) @@ -0,0 +1,15 @@ +infodir=usr/share/info + +post_install() { + [ -x usr/bin/install-info ] || return 0 + usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2 /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2 /dev/null +}
[arch-commits] Commit in gzip/repos (6 files)
Date: Sunday, June 17, 2012 @ 19:21:13 Author: allan Revision: 161985 archrelease: copy trunk to testing-i686, testing-x86_64 Added: gzip/repos/testing-i686/ gzip/repos/testing-i686/PKGBUILD (from rev 161984, gzip/trunk/PKGBUILD) gzip/repos/testing-i686/gzip.install (from rev 161984, gzip/trunk/gzip.install) gzip/repos/testing-x86_64/ gzip/repos/testing-x86_64/PKGBUILD (from rev 161984, gzip/trunk/PKGBUILD) gzip/repos/testing-x86_64/gzip.install (from rev 161984, gzip/trunk/gzip.install) -+ testing-i686/PKGBUILD | 33 + testing-i686/gzip.install | 15 +++ testing-x86_64/PKGBUILD | 33 + testing-x86_64/gzip.install | 15 +++ 4 files changed, 96 insertions(+) Copied: gzip/repos/testing-i686/PKGBUILD (from rev 161984, gzip/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-06-17 23:21:13 UTC (rev 161985) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: judd jvi...@zeroflux.org + +pkgname=gzip +pkgver=1.5 +pkgrel=1 +pkgdesc=GNU compression utility +arch=('i686' 'x86_64') +url=http://www.gnu.org/software/gzip/; +license=('GPL3') +groups=('base') +depends=('glibc' 'bash') +install=gzip.install +source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig}) +md5sums=('2a431e169b6f62f7332ef6d47cc53bae' + '2de95937a3f65137acf9c55d4ad0447a') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make prefix=${pkgdir}/usr install +} Copied: gzip/repos/testing-i686/gzip.install (from rev 161984, gzip/trunk/gzip.install) === --- testing-i686/gzip.install (rev 0) +++ testing-i686/gzip.install 2012-06-17 23:21:13 UTC (rev 161985) @@ -0,0 +1,15 @@ +infodir=usr/share/info + +post_install() { + [ -x usr/bin/install-info ] || return 0 + usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2 /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2 /dev/null +} Copied: gzip/repos/testing-x86_64/PKGBUILD (from rev 161984, gzip/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-06-17 23:21:13 UTC (rev 161985) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: judd jvi...@zeroflux.org + +pkgname=gzip +pkgver=1.5 +pkgrel=1 +pkgdesc=GNU compression utility +arch=('i686' 'x86_64') +url=http://www.gnu.org/software/gzip/; +license=('GPL3') +groups=('base') +depends=('glibc' 'bash') +install=gzip.install +source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig}) +md5sums=('2a431e169b6f62f7332ef6d47cc53bae' + '2de95937a3f65137acf9c55d4ad0447a') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make prefix=${pkgdir}/usr install +} Copied: gzip/repos/testing-x86_64/gzip.install (from rev 161984, gzip/trunk/gzip.install) === --- testing-x86_64/gzip.install (rev 0) +++ testing-x86_64/gzip.install 2012-06-17 23:21:13 UTC (rev 161985) @@ -0,0 +1,15 @@ +infodir=usr/share/info + +post_install() { + [ -x usr/bin/install-info ] || return 0 + usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2 /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2 /dev/null +}
[arch-commits] Commit in gzip/repos (6 files)
Date: Thursday, November 3, 2011 @ 03:20:16 Author: allan Revision: 141921 archrelease: copy trunk to testing-i686, testing-x86_64 Added: gzip/repos/testing-i686/ gzip/repos/testing-i686/PKGBUILD (from rev 141920, gzip/trunk/PKGBUILD) gzip/repos/testing-i686/gzip.install (from rev 141920, gzip/trunk/gzip.install) gzip/repos/testing-x86_64/ gzip/repos/testing-x86_64/PKGBUILD (from rev 141920, gzip/trunk/PKGBUILD) gzip/repos/testing-x86_64/gzip.install (from rev 141920, gzip/trunk/gzip.install) -+ testing-i686/PKGBUILD | 43 ++ testing-i686/gzip.install | 20 +++ testing-x86_64/PKGBUILD | 43 ++ testing-x86_64/gzip.install | 20 +++ 4 files changed, 126 insertions(+) Copied: gzip/repos/testing-i686/PKGBUILD (from rev 141920, gzip/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2011-11-03 07:20:16 UTC (rev 141921) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: judd jvi...@zeroflux.org + +pkgname=gzip +pkgver=1.4 +pkgrel=4 +pkgdesc=GNU compression utility +arch=('i686' 'x86_64') +url=http://www.gnu.org/software/gzip/; +license=('GPL3') +groups=('base') +depends=('glibc' 'bash') +makedepends=('patch') +install=gzip.install +source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz{,.sig}) +md5sums=('e381b8506210c794278f5527cba0e765' + '3b11d485d1638f2d16f7494a0486a6e8') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # By default Gzip uses assembly code. While this may preform better, + # it is not position independent. The DEFS environment variable is + # set to use only C code. + export DEFS=NO_ASM + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make prefix=${pkgdir}/usr install + + install -dm755 ${pkgdir}/bin + mv ${pkgdir}/usr/bin/{gunzip,gzip,uncompress,zcat} ${pkgdir}/bin/ +} Copied: gzip/repos/testing-i686/gzip.install (from rev 141920, gzip/trunk/gzip.install) === --- testing-i686/gzip.install (rev 0) +++ testing-i686/gzip.install 2011-11-03 07:20:16 UTC (rev 141921) @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(gzip.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do +usr/bin/install-info $infodir/$file.gz $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 +usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null + done +} Copied: gzip/repos/testing-x86_64/PKGBUILD (from rev 141920, gzip/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2011-11-03 07:20:16 UTC (rev 141921) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: judd jvi...@zeroflux.org + +pkgname=gzip +pkgver=1.4 +pkgrel=4 +pkgdesc=GNU compression utility +arch=('i686' 'x86_64') +url=http://www.gnu.org/software/gzip/; +license=('GPL3') +groups=('base') +depends=('glibc' 'bash') +makedepends=('patch') +install=gzip.install +source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz{,.sig}) +md5sums=('e381b8506210c794278f5527cba0e765' + '3b11d485d1638f2d16f7494a0486a6e8') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # By default Gzip uses assembly code. While this may preform better, + # it is not position independent. The DEFS environment variable is + # set to use only C code. + export DEFS=NO_ASM + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make prefix=${pkgdir}/usr install + + install -dm755 ${pkgdir}/bin + mv ${pkgdir}/usr/bin/{gunzip,gzip,uncompress,zcat} ${pkgdir}/bin/ +} Copied: gzip/repos/testing-x86_64/gzip.install (from rev 141920, gzip/trunk/gzip.install) === --- testing-x86_64/gzip.install (rev 0) +++ testing-x86_64/gzip.install 2011-11-03 07:20:16 UTC (rev 141921) @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(gzip.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do +usr/bin/install-info $infodir/$file.gz $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 +
[arch-commits] Commit in gzip/repos (6 files)
Date: Wednesday, September 7, 2011 @ 20:49:17 Author: allan Revision: 137500 archrelease: copy trunk to testing-i686, testing-x86_64 Added: gzip/repos/testing-i686/ gzip/repos/testing-i686/PKGBUILD (from rev 137499, gzip/trunk/PKGBUILD) gzip/repos/testing-i686/gzip.install (from rev 137499, gzip/trunk/gzip.install) gzip/repos/testing-x86_64/ gzip/repos/testing-x86_64/PKGBUILD (from rev 137499, gzip/trunk/PKGBUILD) gzip/repos/testing-x86_64/gzip.install (from rev 137499, gzip/trunk/gzip.install) -+ testing-i686/PKGBUILD | 43 ++ testing-i686/gzip.install | 20 +++ testing-x86_64/PKGBUILD | 43 ++ testing-x86_64/gzip.install | 20 +++ 4 files changed, 126 insertions(+) Copied: gzip/repos/testing-i686/PKGBUILD (from rev 137499, gzip/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2011-09-08 00:49:17 UTC (rev 137500) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: judd jvi...@zeroflux.org + +pkgname=gzip +pkgver=1.4 +pkgrel=3 +pkgdesc=GNU compression utility +arch=('i686' 'x86_64') +url=http://www.gnu.org/software/gzip/; +license=('GPL3') +groups=('base') +depends=('glibc' 'bash') +makedepends=('patch') +install=gzip.install +source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz) +md5sums=('e381b8506210c794278f5527cba0e765') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # By default Gzip uses assembly code. While this may preform better, + # it is not position independent. The DEFS environment variable is + # set to use only C code. + export DEFS=NO_ASM + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make prefix=${pkgdir}/usr install + + install -dm755 ${pkgdir}/bin + mv ${pkgdir}/usr/bin/{gunzip,gzip,uncompress,zcat} ${pkgdir}/bin/ + cd $pkgdir/bin +} Copied: gzip/repos/testing-i686/gzip.install (from rev 137499, gzip/trunk/gzip.install) === --- testing-i686/gzip.install (rev 0) +++ testing-i686/gzip.install 2011-09-08 00:49:17 UTC (rev 137500) @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(gzip.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do +usr/bin/install-info $infodir/$file.gz $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 +usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null + done +} Copied: gzip/repos/testing-x86_64/PKGBUILD (from rev 137499, gzip/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2011-09-08 00:49:17 UTC (rev 137500) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: judd jvi...@zeroflux.org + +pkgname=gzip +pkgver=1.4 +pkgrel=3 +pkgdesc=GNU compression utility +arch=('i686' 'x86_64') +url=http://www.gnu.org/software/gzip/; +license=('GPL3') +groups=('base') +depends=('glibc' 'bash') +makedepends=('patch') +install=gzip.install +source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz) +md5sums=('e381b8506210c794278f5527cba0e765') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # By default Gzip uses assembly code. While this may preform better, + # it is not position independent. The DEFS environment variable is + # set to use only C code. + export DEFS=NO_ASM + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make prefix=${pkgdir}/usr install + + install -dm755 ${pkgdir}/bin + mv ${pkgdir}/usr/bin/{gunzip,gzip,uncompress,zcat} ${pkgdir}/bin/ + cd $pkgdir/bin +} Copied: gzip/repos/testing-x86_64/gzip.install (from rev 137499, gzip/trunk/gzip.install) === --- testing-x86_64/gzip.install (rev 0) +++ testing-x86_64/gzip.install 2011-09-08 00:49:17 UTC (rev 137500) @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(gzip.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do +usr/bin/install-info $infodir/$file.gz $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 +usr/bin/install-info --delete $infodir/$file.gz $infodir/dir