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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 15:32:53 UTC 2017


    Date: Saturday, September 23, 2017 @ 15:32:52
  Author: felixonmars
Revision: 260028

upgpkg: haskell-test-framework 0.8.1.1-13

Modified:
  haskell-test-framework/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 15:32:37 UTC (rev 260027)
+++ PKGBUILD	2017-09-23 15:32:52 UTC (rev 260028)
@@ -5,7 +5,7 @@
 _hkgname=test-framework
 pkgname=haskell-test-framework
 pkgver=0.8.1.1
-pkgrel=12
+pkgrel=13
 pkgdesc="Framework for running and organising tests, with HUnit and QuickCheck support"
 url="https://batterseapower.github.io/test-framework/"
 license=("custom:BSD3")
@@ -14,7 +14,7 @@
          "haskell-old-locale" "haskell-random" "haskell-regex-posix" "haskell-xml")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('7883626a5aebb1df327bf26dbd382208946250a79f9cc3bf9a9eb0b0767bb273')
+sha512sums=('7fd6015a0469623d2738c2a8d14c6b3a356c9463084a1b471f1c1b7b75bd33796ae8a0c01731e7b87dfa345be16bbeb262fcb1cdd4d8f1fdabd79c45f3570cbd')
 
 prepare() {
     sed -i 's/time >= 1.1.2 && < 1.6,/time >= 1.1.2,/' ${_hkgname}-${pkgver}/${_hkgname}.cabal
@@ -23,7 +23,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-tests
@@ -42,7 +42,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