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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 19:02:29 UTC 2017


    Date: Friday, September 22, 2017 @ 19:02:28
  Author: felixonmars
Revision: 259744

upgpkg: haskell-hunit 1.6.0.0-4

Modified:
  haskell-hunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 19:02:18 UTC (rev 259743)
+++ PKGBUILD	2017-09-22 19:02:28 UTC (rev 259744)
@@ -5,7 +5,7 @@
 _hkgname=HUnit
 pkgname=haskell-hunit
 pkgver=1.6.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A unit testing framework for Haskell"
 url="http://hunit.sourceforge.net/"
 license=("custom:BSD3")
@@ -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 \
             -fbase4
@@ -37,7 +37,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