Date: Saturday, June 17, 2017 @ 14:58:43
  Author: felixonmars
Revision: 237927

upgpkg: haskell-criterion 1.2.0.0-2

rebuild with ghc,8.0.2

Modified:
  haskell-criterion/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-06-17 14:58:40 UTC (rev 237926)
+++ PKGBUILD    2017-06-17 14:58:43 UTC (rev 237927)
@@ -5,12 +5,12 @@
 _hkgname=criterion
 pkgname=haskell-criterion
 pkgver=1.2.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Robust, reliable performance measurement and analysis"
 url="http://www.serpentine.com/criterion";
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-ansi-wl-pprint" 
"haskell-cassava" "haskell-code-page"
+depends=("ghc" "haskell-aeson" "haskell-ansi-wl-pprint" "haskell-cassava" 
"haskell-code-page"
          "haskell-exceptions" "haskell-glob" "haskell-js-flot" 
"haskell-js-jquery"
          "haskell-microstache" "haskell-mtl" "haskell-mwc-random" 
"haskell-optparse-applicative"
          "haskell-parsec" "haskell-statistics" "haskell-text" 
"haskell-transformers-compat"
@@ -21,7 +21,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-fast
@@ -43,4 +43,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
 }

Reply via email to