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

Felix Yan felixonmars at archlinux.org
Sun Jun 18 03:02:09 UTC 2017


    Date: Sunday, June 18, 2017 @ 03:02:08
  Author: felixonmars
Revision: 238005

upgpkg: haskell-turtle 1.3.6-3

rebuild with ghc,8.0.2

Modified:
  haskell-turtle/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-18 00:46:24 UTC (rev 238004)
+++ PKGBUILD	2017-06-18 03:02:08 UTC (rev 238005)
@@ -5,12 +5,12 @@
 _hkgname=turtle
 pkgname=haskell-turtle
 pkgver=1.3.6
-pkgrel=2
+pkgrel=3
 pkgdesc="Shell programming, Haskell-style"
 url="https://github.com/Gabriel439/Haskell-Turtle-Library"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-clock' 'haskell-foldl'
+depends=('ghc' 'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-clock' 'haskell-foldl'
          'haskell-hostname' 'haskell-managed' 'haskell-optparse-applicative' 'haskell-optional-args'
          'haskell-semigroups' 'haskell-stm' 'haskell-system-fileio' 'haskell-system-filepath'
          'haskell-temporary' 'haskell-text' 'haskell-unix-compat')
@@ -20,7 +20,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
@@ -41,4 +41,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