summaryrefslogtreecommitdiff
path: root/core/zlib
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-23 18:28:19 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-23 18:28:19 -0300
commitd07d53d7af1e9694d9558783841bc2df3124a90f (patch)
tree40d68de204b29d3360efd654d3c458c9cdad3cd6 /core/zlib
parenta873bdc69d24650d832933463af71dfaa96f1a8a (diff)
parent64e290184042563a240e2d6d15c02e06703d00ee (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/obconf/PKGBUILD community/obconf/obconf.install community/qstardict/PKGBUILD core/binutils/PKGBUILD core/gcc/PKGBUILD.mips64el extra/cups/PKGBUILD extra/eject/PKGBUILD extra/emacs/PKGBUILD extra/evilwm/PKGBUILD extra/fbset/PKGBUILD extra/gmpc/PKGBUILD extra/gnome-alsamixer/PKGBUILD extra/gtkpod/PKGBUILD extra/kdepim/PKGBUILD extra/kile/PKGBUILD extra/libvpx/PKGBUILD extra/php-apc/PKGBUILD extra/php-suhosin/PKGBUILD extra/php/PKGBUILD extra/pidgin/PKGBUILD extra/potrace/PKGBUILD extra/racket/PKGBUILD extra/soundtouch/PKGBUILD extra/wireshark/PKGBUILD extra/xpdf/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/lib32-acl/PKGBUILD multilib/lib32-attr/PKGBUILD multilib/lib32-glibc/PKGBUILD multilib/lib32-udev/PKGBUILD ~xihh/abiword/PKGBUILD
Diffstat (limited to 'core/zlib')
-rw-r--r--core/zlib/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/core/zlib/PKGBUILD b/core/zlib/PKGBUILD
index cbf9bdaef..e92f893de 100644
--- a/core/zlib/PKGBUILD
+++ b/core/zlib/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 100000 2010-11-19 17:40:38Z pierre $
+# $Id: PKGBUILD 135916 2011-08-20 07:14:14Z allan $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=zlib
pkgver=1.2.5
-pkgrel=3
+pkgrel=4
pkgdesc='Compression library implementing the deflate compression method found in gzip and PKZIP'
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
@@ -18,7 +18,7 @@ md5sums=('c735eab2d659a96e5a594c9e8541ad63'
build() {
cd ${srcdir}/zlib-$pkgver
# see http://bugs.archlinux.org/task/19280
- patch -p1 -i ${srcdir}/zlib-1.2.5-lfs-decls.patch || return 1
+ patch -p1 -i ${srcdir}/zlib-1.2.5-lfs-decls.patch
# work around gcc bug; see https://bugs.archlinux.org/task/20647
export CFLAGS="${CFLAGS/-O2/-O3} -fno-tree-vectorize -DUNALIGNED_OK"
./configure --prefix=/usr
@@ -27,6 +27,11 @@ build() {
grep -A 24 '^ Copyright' zlib.h > LICENSE
}
+check() {
+ cd ${srcdir}/zlib-$pkgver
+ make check
+}
+
package() {
cd ${srcdir}/zlib-$pkgver
make install DESTDIR=${pkgdir}