[arch-commits] Commit in haskell-wai-app-static/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jun 16 06:14:08 UTC 2017


    Date: Friday, June 16, 2017 @ 06:14:07
  Author: felixonmars
Revision: 237483

upgpkg: haskell-wai-app-static 3.1.6.1-72

rebuild with ghc,8.0.2

Modified:
  haskell-wai-app-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 05:56:47 UTC (rev 237482)
+++ PKGBUILD	2017-06-16 06:14:07 UTC (rev 237483)
@@ -5,12 +5,12 @@
 _hkgname=wai-app-static
 pkgname=haskell-wai-app-static
 pkgver=3.1.6.1
-pkgrel=71
+pkgrel=72
 pkgdesc="WAI application for static serving"
 url="http://www.yesodweb.com/book/web-application-interface"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-blaze-builder" "haskell-blaze-html" "haskell-blaze-markup" 
+depends=("ghc" "haskell-blaze-builder" "haskell-blaze-html" "haskell-blaze-markup" 
          "haskell-cryptonite" "haskell-file-embed" "haskell-http-date" "haskell-http-types"
          "haskell-memory" "haskell-mime-types" "haskell-old-locale"
          "haskell-optparse-applicative" "haskell-text" "haskell-unix-compat"
@@ -22,7 +22,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 \
             -f-print
@@ -44,4 +44,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