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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 16:08:49 UTC 2017


    Date: Saturday, September 23, 2017 @ 16:08:48
  Author: felixonmars
Revision: 260084

upgpkg: haskell-test-framework-hunit 0.3.0.2-17

Modified:
  haskell-test-framework-hunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:08:36 UTC (rev 260083)
+++ PKGBUILD	2017-09-23 16:08:48 UTC (rev 260084)
@@ -5,7 +5,7 @@
 _hkgname=test-framework-hunit
 pkgname=haskell-test-framework-hunit
 pkgver=0.3.0.2
-pkgrel=16
+pkgrel=17
 pkgdesc="HUnit support for the test-framework package."
 url="https://batterseapower.github.io/test-framework/"
 license=("custom:BSD3")
@@ -13,7 +13,7 @@
 depends=('ghc-libs' "haskell-hunit" "haskell-extensible-exceptions" "haskell-test-framework")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('95cb8ee02a850b164bfdabdf4dbc839d621361f3ac770ad21ea43a8bde360bf8')
+sha512sums=('068ca4326935746769aa4023076e9bd85d1753073c6e67d88daa6ccf2a69f3bafb87c3b03fd5ada612f6ddbdf2447b06ef8f853675cf0efe9eafd80606c40e32')
 
 prepare() {
     sed -i 's/HUnit >= 1.2 && < 1.4/HUnit >= 1.2 \&\& < 1.7/' $_hkgname-$pkgver/$_hkgname.cabal
@@ -22,7 +22,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 \
             -f-base3 -fbase4
@@ -41,7 +41,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