summaryrefslogtreecommitdiff
path: root/core/gzip/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/gzip/PKGBUILD')
-rw-r--r--core/gzip/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/core/gzip/PKGBUILD b/core/gzip/PKGBUILD
index 87c152292..94b597eda 100644
--- a/core/gzip/PKGBUILD
+++ b/core/gzip/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 100035 2010-11-20 01:15:49Z stephane $
+# $Id: PKGBUILD 137785 2011-09-11 01:35:04Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=gzip
pkgver=1.4
-pkgrel=2
+pkgrel=3
pkgdesc="GNU compression utility"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gzip/"
@@ -27,6 +27,11 @@ build() {
make
}
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -35,5 +40,4 @@ package() {
install -dm755 ${pkgdir}/bin
mv ${pkgdir}/usr/bin/{gunzip,gzip,uncompress,zcat} ${pkgdir}/bin/
cd $pkgdir/bin
- ln -sf ${pkgname} compress
}