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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 10:34:21 UTC 2017


    Date: Thursday, June 15, 2017 @ 10:34:20
  Author: felixonmars
Revision: 237125

upgpkg: haskell-mwc-random 0.13.6.0-2

rebuild with ghc,8.0.2

Modified:
  haskell-mwc-random/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 10:31:55 UTC (rev 237124)
+++ PKGBUILD	2017-06-15 10:34:20 UTC (rev 237125)
@@ -5,12 +5,12 @@
 _hkgname=mwc-random
 pkgname=haskell-mwc-random
 pkgver=0.13.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Fast, high quality pseudo random number generation"
 url="https://github.com/bos/mwc-random"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-math-functions" "haskell-primitive" "haskell-vector")
+depends=("ghc" "haskell-math-functions" "haskell-primitive" "haskell-vector")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('ae0615b3b20be157677989d89bf8c493861ab2b44d78c6c7501ae756c373f5e9d287987bf13e2f86d3526db39ca3c5303702c65216faa359ebeb90c18c558197')
 
@@ -17,7 +17,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
@@ -38,4 +38,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