summaryrefslogtreecommitdiff
path: root/testing/gzip/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gzip/PKGBUILD')
-rw-r--r--testing/gzip/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/gzip/PKGBUILD b/testing/gzip/PKGBUILD
new file mode 100644
index 000000000..d92cbdeef
--- /dev/null
+++ b/testing/gzip/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 161985 2012-06-17 23:21:13Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: judd <jvinet@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
+}