Date: Sunday, October 20, 2013 @ 15:09:33
  Author: pierre
Revision: 196852

upgpkg: zlib 1.2.8-2

remove static libs

Modified:
  zlib/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-10-20 13:08:56 UTC (rev 196851)
+++ PKGBUILD    2013-10-20 13:09:33 UTC (rev 196852)
@@ -3,7 +3,7 @@
 
 pkgname=zlib
 pkgver=1.2.8
-pkgrel=1
+pkgrel=2
 pkgdesc='Compression library implementing the deflate compression method found 
in gzip and PKZIP'
 arch=('i686' 'x86_64')
 license=('custom')
@@ -12,12 +12,15 @@
 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
-
-       grep -A 24 '^  Copyright' zlib.h > LICENSE
 }
 
 check() {

Reply via email to