summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFantix King2012-09-24 15:55:55 +0800
committerFantix King2015-11-07 12:50:14 +0800
commit7e8da7e9069cd9c35778a3580d1689b10fe7e651 (patch)
tree613295a81a0c5ccffcf4044d8036ae0572937b86
downloadaur-7e8da7e9069cd9c35778a3580d1689b10fe7e651.tar.gz
1.2.7-1.1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD41
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..55339d34b6b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = libx32-zlib
+ pkgdesc = Compression library implementing the deflate compression method found in gzip and PKZIP (x32 ABI)
+ pkgver = 1.2.7
+ pkgrel = 1.1
+ url = http://www.zlib.net/
+ arch = x86_64
+ license = custom
+ makedepends = gcc-multilib-x32
+ depends = libx32-glibc
+ depends = zlib
+ source = http://zlib.net/current/zlib-1.2.7.tar.gz
+ md5sums = 60df6a37c56e7c1366cca812414f7b85
+
+pkgname = libx32-zlib
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9f99ace8e5c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 70251 2012-05-03 08:40:13Z pschmitz $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+_pkgbasename=zlib
+pkgname=libx32-$_pkgbasename
+pkgver=1.2.7
+pkgrel=1.1
+pkgdesc='Compression library implementing the deflate compression method found in gzip and PKZIP (x32 ABI)'
+arch=('x86_64')
+license=('custom')
+url="http://www.zlib.net/"
+depends=('libx32-glibc' "$_pkgbasename")
+makedepends=('gcc-multilib-x32')
+source=("http://zlib.net/current/zlib-${pkgver}.tar.gz")
+md5sums=('60df6a37c56e7c1366cca812414f7b85')
+
+build() {
+ export CC="gcc -mx32"
+ export CXX="g++ -mx32"
+ export PKG_CONFIG_PATH="/usr/libx32/pkgconfig"
+
+ cd ${srcdir}/zlib-$pkgver
+ ./configure --prefix=/usr \
+ --libdir=/usr/libx32
+ make
+}
+
+check() {
+ cd ${srcdir}/zlib-$pkgver
+ make test
+}
+
+package() {
+ cd ${srcdir}/zlib-$pkgver
+ make install DESTDIR=${pkgdir}
+
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}