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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 16:07:00 UTC 2017


    Date: Friday, June 16, 2017 @ 16:06:59
  Author: felixonmars
Revision: 237721

upgpkg: haskell-statistics 0.14.0.2-2

rebuild with ghc,8.0.2

Modified:
  haskell-statistics/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 15:54:59 UTC (rev 237720)
+++ PKGBUILD	2017-06-16 16:06:59 UTC (rev 237721)
@@ -5,12 +5,12 @@
 _hkgname=statistics
 pkgname=haskell-statistics
 pkgver=0.14.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A library of statistical types, data, and functions"
 url="https://github.com/bos/statistics"
 license=("custom:BSD2")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-base-orphans" "haskell-erf" "haskell-math-functions"
+depends=("ghc" "haskell-aeson" "haskell-base-orphans" "haskell-erf" "haskell-math-functions"
          "haskell-monad-par" "haskell-mwc-random" "haskell-primitive" "haskell-vector"
          "haskell-vector-algorithms" "haskell-vector-binary-instances" "haskell-vector-th-unbox")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
@@ -19,7 +19,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
@@ -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