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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 06:37:00 UTC 2017


    Date: Friday, June 16, 2017 @ 06:37:00
  Author: felixonmars
Revision: 237495

upgpkg: haskell-tasty 0.11.2.1-5

rebuild with ghc,8.0.2

Modified:
  haskell-tasty/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 06:36:27 UTC (rev 237494)
+++ PKGBUILD	2017-06-16 06:37:00 UTC (rev 237495)
@@ -5,14 +5,14 @@
 _hkgname=tasty
 pkgname=haskell-tasty
 pkgver=0.11.2.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Modern and extensible testing framework"
 url="http://documentup.com/feuerbach/tasty"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-ansi-terminal" "haskell-async" "haskell-clock"
-         "haskell-mtl" "haskell-optparse-applicative" "haskell-regex-tdfa"
-         "haskell-stm" "haskell-tagged" "haskell-unbounded-delays")
+depends=("ghc" "haskell-ansi-terminal" "haskell-async" "haskell-clock" "haskell-mtl"
+         "haskell-optparse-applicative" "haskell-regex-tdfa" "haskell-stm" "haskell-tagged"
+         "haskell-unbounded-delays")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('46da32e9b6b4564396063861583fb74058bedbae7ab64e1257ac183f1012f7b9f249d17d1f6c7d6680f4310862dab247d671c3396351371a4bfc53f70dc3d5ae')
 
@@ -19,7 +19,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
@@ -40,4 +40,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