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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 03:50:28 UTC 2017


    Date: Thursday, June 15, 2017 @ 03:50:12
  Author: felixonmars
Revision: 236956

upgpkg: haskell-streaming-commons 0.1.18-2

rebuild with ghc,8.0.2

Modified:
  haskell-streaming-commons/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 03:47:44 UTC (rev 236955)
+++ PKGBUILD	2017-06-15 03:50:12 UTC (rev 236956)
@@ -5,12 +5,12 @@
 _hkgname=streaming-commons
 pkgname=haskell-streaming-commons
 pkgver=0.1.18
-pkgrel=1
+pkgrel=2
 pkgdesc="Common lower-level functions needed by various streaming data libraries"
 url="https://github.com/fpco/streaming-commons"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-async" "haskell-blaze-builder" "haskell-network" "haskell-random"
+depends=("ghc" "haskell-async" "haskell-blaze-builder" "haskell-network" "haskell-random"
          "haskell-stm" "haskell-text" "haskell-zlib")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('da9f4217241e41322b414c1e0171c9eb110fb04d3a593d5aa584b2296d564c77686e58ca6526e7b40d45ad83c64897a8b427b890cfd68667cad07bda21822fb1')
@@ -18,7 +18,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 \
             -f-use-bytestring-builder
@@ -40,4 +40,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