From 100d6d8fd3007a471a66720272f8b8e8b7f879ff Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 2 Dec 2014 23:01:40 +0000
Subject: zlib: update to 1.2.8

---
 abs/core/zlib/PKGBUILD | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/abs/core/zlib/PKGBUILD b/abs/core/zlib/PKGBUILD
index e9a9866..7951423 100644
--- a/abs/core/zlib/PKGBUILD
+++ b/abs/core/zlib/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: PKGBUILD 158552 2012-05-04 22:14:53Z pierre $
+# $Id$
 # Maintainer: Pierre Schmitz <pierre@archlinux.de>
 
 pkgname=zlib
-pkgver=1.2.7
-pkgrel=1
+pkgver=1.2.8
+pkgrel=3
 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')
+options=('staticlibs')  # needed by binutils testsuite
 source=("http://zlib.net/current/zlib-${pkgver}.tar.gz")
-md5sums=('60df6a37c56e7c1366cca812414f7b85')
+md5sums=('44d667c142d7cda120332623eab69f40')
+
+prepare() {
+	cd ${srcdir}/zlib-$pkgver
+	grep -A 24 '^  Copyright' zlib.h > LICENSE
+}
 
 build() {
 	cd ${srcdir}/zlib-$pkgver
 	./configure --prefix=/usr
 	make
-
-	grep -A 24 '^  Copyright' zlib.h > LICENSE
 }
 
 check() {
-- 
cgit v0.12

