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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 04:14:13 UTC 2017


    Date: Thursday, June 15, 2017 @ 04:14:09
  Author: felixonmars
Revision: 236964

upgpkg: haskell-conduit-extra 1.1.16-12

rebuild with ghc,8.0.2

Modified:
  haskell-conduit-extra/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 04:10:04 UTC (rev 236963)
+++ PKGBUILD	2017-06-15 04:14:09 UTC (rev 236964)
@@ -5,12 +5,12 @@
 _hkgname=conduit-extra
 pkgname=haskell-conduit-extra
 pkgver=1.1.16
-pkgrel=11
+pkgrel=12
 pkgdesc="Batteries included conduit: adapters for common libraries."
 url="http://github.com/snoyberg/conduit"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-async" "haskell-attoparsec" "haskell-blaze-builder" "haskell-conduit"
+depends=("ghc" "haskell-async" "haskell-attoparsec" "haskell-blaze-builder" "haskell-conduit"
          "haskell-exceptions" "haskell-monad-control" "haskell-network" "haskell-primitive"
          "haskell-resourcet" "haskell-stm" "haskell-streaming-commons" "haskell-text"
          "haskell-transformers-base")
@@ -20,7 +20,7 @@
 build() {
     cd "${srcdir}/${_hkgname}-${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
     runhaskell Setup build
@@ -41,4 +41,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