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/PKGBUILD31
1 files changed, 15 insertions, 16 deletions
diff --git a/abs/core/gzip/PKGBUILD b/abs/core/gzip/PKGBUILD
index 96e6695..df04137 100644
--- a/abs/core/gzip/PKGBUILD
+++ b/abs/core/gzip/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 64609 2010-01-21 11:31:50Z allan $
+# $Id: PKGBUILD 162088 2012-06-19 15:43:54Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=gzip
-pkgver=1.4
+pkgver=1.5
pkgrel=1
pkgdesc="GNU compression utility"
arch=('i686' 'x86_64')
@@ -11,24 +11,23 @@ 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')
+source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig})
+md5sums=('2a431e169b6f62f7332ef6d47cc53bae'
+ '2de95937a3f65137acf9c55d4ad0447a')
build() {
- cd $srcdir/$pkgname-$pkgver
-
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
- make || return 1
+ make
}
-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
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make prefix=${pkgdir}/usr install
}