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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 14:20:45 UTC 2017


    Date: Friday, September 22, 2017 @ 14:20:45
  Author: felixonmars
Revision: 259488

upgpkg: haskell-zlib 0.6.1.2-4

Modified:
  haskell-zlib/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 14:20:04 UTC (rev 259487)
+++ PKGBUILD	2017-09-22 14:20:45 UTC (rev 259488)
@@ -4,7 +4,7 @@
 
 pkgname=haskell-zlib
 pkgver=0.6.1.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Compression and decompression in the gzip and zlib formats"
 url="https://hackage.haskell.org/package/zlib"
 license=('custom:BSD3')
@@ -12,11 +12,11 @@
 depends=('ghc-libs' 'zlib')
 makedepends=('ghc')
 source=(https://hackage.haskell.org/packages/archive/zlib/${pkgver}/zlib-${pkgver}.tar.gz)
-sha256sums=('e4eb4e636caf07a16a9730ce469a00b65d5748f259f43edd904dd457b198a2bb')
+sha512sums=('0034eb1297eaf20ab64e5cbfc835cee1985d34bc248325bf57f7bf5cdf2918ab72f339fe5b8b3f5f16dee862f190e0c71612960b9021cf2ca70c951788b73fc1')
 
 build() {
     cd "$srcdir"/zlib-${pkgver}
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -f-use-bytestring-builder -f-non-blocking-ffi
@@ -35,7 +35,4 @@
     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