summaryrefslogtreecommitdiffstats
path: root/abs/core/gzip/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gzip/PKGBUILD')
-rw-r--r--abs/core/gzip/PKGBUILD41
1 files changed, 22 insertions, 19 deletions
diff --git a/abs/core/gzip/PKGBUILD b/abs/core/gzip/PKGBUILD
index dea881c..96e6695 100644
--- a/abs/core/gzip/PKGBUILD
+++ b/abs/core/gzip/PKGBUILD
@@ -1,31 +1,34 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: judd <jvinet@zeroflux.org>
+# $Id: PKGBUILD 64609 2010-01-21 11:31:50Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+
pkgname=gzip
-pkgver=1.3.12
-pkgrel=13
+pkgver=1.4
+pkgrel=1
pkgdesc="GNU compression utility"
-arch=(i686 x86_64)
-url="http://www.gzip.org"
-license=('GPL')
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gzip/"
+license=('GPL3')
groups=('base')
depends=('glibc' 'bash')
makedepends=('patch')
-source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz
- gzip-fixutimens.patch)
+install=gzip.install
+source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz)
+md5sums=('e381b8506210c794278f5527cba0e765')
build() {
- cd $startdir/src/$pkgname-$pkgver
- patch -Np1 -i ${startdir}/src/gzip-fixutimens.patch || return 1
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
- mkdir -p $startdir/pkg/bin $startdir/pkg/usr/bin
- make prefix=$startdir/pkg/usr install
- cd $startdir/pkg/usr/bin
- mv $pkgname $startdir/pkg/bin
- mv gunzip zcat uncompress $startdir/pkg/bin
- cd $startdir/pkg/bin
+}
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make prefix=$pkgdir/usr install
+
+ install -dm755 $pkgdir/bin
+ cd $pkgdir/usr/bin
+ mv gzip gunzip zcat uncompress $pkgdir/bin
+ cd $pkgdir/bin
ln -sf $pkgname compress
}
-md5sums=('b5bac2d21840ae077e0217bc5e4845b1'
- 'cb592761476921018386031d91625153')