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

Felix Yan felixonmars at archlinux.org
Sun Sep 24 08:14:56 UTC 2017


    Date: Sunday, September 24, 2017 @ 08:14:55
  Author: felixonmars
Revision: 260352

upgpkg: haskell-hspec 2.4.4-4

Modified:
  haskell-hspec/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-24 08:14:43 UTC (rev 260351)
+++ PKGBUILD	2017-09-24 08:14:55 UTC (rev 260352)
@@ -4,7 +4,7 @@
 _hkgname=hspec
 pkgname=haskell-hspec
 pkgver=2.4.4
-pkgrel=3
+pkgrel=4
 pkgdesc="A Testing Framework for Haskell"
 url="http://hspec.github.io/"
 license=('MIT')
@@ -18,7 +18,7 @@
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
@@ -36,7 +36,4 @@
     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