diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-11-15 14:34:01 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-11-15 14:34:01 +0000 |
commit | 28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (patch) | |
tree | b5961b2312f5afe599dba0d1b9a3b6f6e3d04091 /testing/gzip | |
parent | 3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff) |
Tue Nov 15 14:33:58 UTC 2011
Diffstat (limited to 'testing/gzip')
-rw-r--r-- | testing/gzip/PKGBUILD | 43 | ||||
-rw-r--r-- | testing/gzip/gzip.install | 20 |
2 files changed, 0 insertions, 63 deletions
diff --git a/testing/gzip/PKGBUILD b/testing/gzip/PKGBUILD deleted file mode 100644 index a71b9cf1c..000000000 --- a/testing/gzip/PKGBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# $Id: PKGBUILD 141921 2011-11-03 07:20:16Z allan $ -# Maintainer: Allan McRae <allan@archlinux.org> -# Contributor: judd <jvinet@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/ -} diff --git a/testing/gzip/gzip.install b/testing/gzip/gzip.install deleted file mode 100644 index 24c8b8fb9..000000000 --- a/testing/gzip/gzip.install +++ /dev/null @@ -1,20 +0,0 @@ -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 -} |