[arch-commits] Commit in zlib/repos (4 files)
Pierre Schmitz
pierre at nymeria.archlinux.org
Sun Oct 20 13:09:41 UTC 2013
Date: Sunday, October 20, 2013 @ 15:09:40
Author: pierre
Revision: 196853
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
zlib/repos/testing-i686/
zlib/repos/testing-i686/PKGBUILD
(from rev 196852, zlib/trunk/PKGBUILD)
zlib/repos/testing-x86_64/
zlib/repos/testing-x86_64/PKGBUILD
(from rev 196852, zlib/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: zlib/repos/testing-i686/PKGBUILD (from rev 196852, zlib/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-10-20 13:09:40 UTC (rev 196853)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=zlib
+pkgver=1.2.8
+pkgrel=2
+pkgdesc='Compression library implementing the deflate compression method found in gzip and PKZIP'
+arch=('i686' 'x86_64')
+license=('custom')
+url="http://www.zlib.net/"
+depends=('glibc')
+source=("http://zlib.net/current/zlib-${pkgver}.tar.gz")
+md5sums=('44d667c142d7cda120332623eab69f40')
+
+prepare() {
+ cd ${srcdir}/zlib-$pkgver
+ grep -A 24 '^ Copyright' zlib.h > LICENSE
+}
+
+build() {
+ cd ${srcdir}/zlib-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${srcdir}/zlib-$pkgver
+ make test
+}
+
+package() {
+ cd ${srcdir}/zlib-$pkgver
+ make install DESTDIR=${pkgdir}
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/zlib/LICENSE
+}
Copied: zlib/repos/testing-x86_64/PKGBUILD (from rev 196852, zlib/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-10-20 13:09:40 UTC (rev 196853)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=zlib
+pkgver=1.2.8
+pkgrel=2
+pkgdesc='Compression library implementing the deflate compression method found in gzip and PKZIP'
+arch=('i686' 'x86_64')
+license=('custom')
+url="http://www.zlib.net/"
+depends=('glibc')
+source=("http://zlib.net/current/zlib-${pkgver}.tar.gz")
+md5sums=('44d667c142d7cda120332623eab69f40')
+
+prepare() {
+ cd ${srcdir}/zlib-$pkgver
+ grep -A 24 '^ Copyright' zlib.h > LICENSE
+}
+
+build() {
+ cd ${srcdir}/zlib-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${srcdir}/zlib-$pkgver
+ make test
+}
+
+package() {
+ cd ${srcdir}/zlib-$pkgver
+ make install DESTDIR=${pkgdir}
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/zlib/LICENSE
+}
More information about the arch-commits
mailing list