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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 15:47:15 UTC 2017


    Date: Thursday, June 15, 2017 @ 15:47:14
  Author: felixonmars
Revision: 237196

upgpkg: haskell-yesod-core 1.4.35-7

rebuild with ghc,8.0.2

Modified:
  haskell-yesod-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 15:44:04 UTC (rev 237195)
+++ PKGBUILD	2017-06-15 15:47:14 UTC (rev 237196)
@@ -5,15 +5,15 @@
 _hkgname=yesod-core
 pkgname=haskell-yesod-core
 pkgver=1.4.35
-pkgrel=6
+pkgrel=7
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-auto-update" "haskell-blaze-builder"
-         "haskell-blaze-html" "haskell-blaze-markup" "haskell-byteable" "haskell-case-insensitive"
-         "haskell-cereal" "haskell-clientsession" "haskell-conduit" "haskell-conduit-extra"
-         "haskell-cookie" "haskell-data-default" "haskell-deepseq-generics" "haskell-exceptions"
+depends=("ghc" "haskell-aeson" "haskell-auto-update" "haskell-blaze-builder" "haskell-blaze-html"
+         "haskell-blaze-markup" "haskell-byteable" "haskell-case-insensitive" "haskell-cereal"
+         "haskell-clientsession" "haskell-conduit" "haskell-conduit-extra" "haskell-cookie"
+         "haskell-data-default" "haskell-deepseq-generics" "haskell-exceptions"
          "haskell-fast-logger" "haskell-http-types" "haskell-lifted-base" "haskell-monad-control"
          "haskell-monad-logger" "haskell-mtl" "haskell-mwc-random" "haskell-old-locale"
          "haskell-parsec" "haskell-path-pieces" "haskell-primitive" "haskell-random"
@@ -27,7 +27,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
@@ -48,4 +48,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