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

Felix Yan felixonmars at archlinux.org
Sat Jun 17 16:43:12 UTC 2017


    Date: Saturday, June 17, 2017 @ 16:43:12
  Author: felixonmars
Revision: 237969

upgpkg: haskell-hakyll 4.9.7.0-5

rebuild with ghc,8.0.2

Modified:
  haskell-hakyll/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-17 16:38:25 UTC (rev 237968)
+++ PKGBUILD	2017-06-17 16:43:12 UTC (rev 237969)
@@ -5,15 +5,15 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.9.7.0
-pkgrel=4
+pkgrel=5
 pkgdesc="A static website compiler library"
 url="http://jaspervdj.be/hakyll"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-blaze-html" "haskell-blaze-markup" "haskell-cryptohash"
+depends=("ghc" "haskell-blaze-html" "haskell-blaze-markup" "haskell-cryptohash"
          "haskell-data-default" "haskell-fsnotify" "haskell-http-conduit" "haskell-http-types"
          "haskell-lrucache" "haskell-mtl" "haskell-network" "haskell-network-uri"
-         "haskell-optparse-applicative" "haskell-pandoc" "haskell-pandoc-citeproc" "haskell-parsec"
+         "haskell-optparse-applicative" "pandoc" "pandoc-citeproc" "haskell-parsec"
          "haskell-random" "haskell-regex-base" "haskell-regex-tdfa" "haskell-resourcet"
          "haskell-scientific" "haskell-system-filepath" "haskell-tagsoup" "haskell-text"
          "haskell-time-locale-compat" "haskell-unordered-containers" "haskell-vector" "haskell-wai"
@@ -24,7 +24,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 \
             -fcheckexternal -fwatchserver -fpreviewserver
@@ -46,4 +46,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