[arch-commits] Commit in haskell-zlib/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jun 15 02:35:51 UTC 2017


    Date: Thursday, June 15, 2017 @ 02:35:50
  Author: felixonmars
Revision: 236890

upgpkg: haskell-zlib 0.6.1.2-2

rebuild with ghc,8.0.2

Modified:
  haskell-zlib/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 02:33:51 UTC (rev 236889)
+++ PKGBUILD	2017-06-15 02:35:50 UTC (rev 236890)
@@ -4,12 +4,11 @@
 
 pkgname=haskell-zlib
 pkgver=0.6.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Compression and decompression in the gzip and zlib formats"
 url="https://hackage.haskell.org/package/zlib"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-makedepends=()
 depends=('ghc' 'zlib')
 source=(https://hackage.haskell.org/packages/archive/zlib/${pkgver}/zlib-${pkgver}.tar.gz)
 sha256sums=('e4eb4e636caf07a16a9730ce469a00b65d5748f259f43edd904dd457b198a2bb')
@@ -16,7 +15,7 @@
 
 build() {
     cd "$srcdir"/zlib-${pkgver}
-    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --libsubdir=\$compiler/site-local/\$pkgid \
             -f-use-bytestring-builder -f-non-blocking-ffi
@@ -38,4 +37,7 @@
     runhaskell Setup copy --destdir="$pkgdir"
     install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
     rm -f "$pkgdir"/usr/share/doc/${pkgname}/LICENSE
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list