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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 05:01:51 UTC 2017


    Date: Friday, June 16, 2017 @ 05:01:50
  Author: felixonmars
Revision: 237453

upgpkg: haskell-hspec 2.4.3-6

rebuild with ghc,8.0.2

Modified:
  haskell-hspec/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 20:50:36 UTC (rev 237452)
+++ PKGBUILD	2017-06-16 05:01:50 UTC (rev 237453)
@@ -4,12 +4,12 @@
 _hkgname=hspec
 pkgname=haskell-hspec
 pkgver=2.4.3
-pkgrel=5
+pkgrel=6
 pkgdesc="A Testing Framework for Haskell"
 url="http://hspec.github.io/"
 license=('MIT')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-call-stack' 'haskell-hspec-core' 'haskell-hspec-discover'
+depends=('ghc' 'haskell-call-stack' 'haskell-hspec-core' 'haskell-hspec-discover'
          'haskell-hspec-expectations' 'haskell-quickcheck' 'haskell-hunit')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('4501f7c8e41b46eda95a7141f6a281a17d1e0eded61d3f61c2d445ed9cd3ceaaeb023e367dc05122a6b235182595682807e4f8a0450f8e4a4377ceb5708f809d')
@@ -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