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

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


    Date: Saturday, June 17, 2017 @ 16:01:42
  Author: felixonmars
Revision: 237959

upgpkg: haskell-yesod-auth 1.4.17.2-7

rebuild with ghc,8.0.2

Modified:
  haskell-yesod-auth/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-17 15:57:25 UTC (rev 237958)
+++ PKGBUILD	2017-06-17 16:01:42 UTC (rev 237959)
@@ -5,12 +5,12 @@
 _hkgname=yesod-auth
 pkgname=haskell-yesod-auth
 pkgver=1.4.17.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Authentication for Yesod."
 url="http://www.yesodweb.com/"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-authenticate" "haskell-base16-bytestring"
+depends=("ghc" "haskell-aeson" "haskell-authenticate" "haskell-base16-bytestring"
          "haskell-base64-bytestring" "haskell-blaze-builder" "haskell-blaze-html"
          "haskell-blaze-markup" "haskell-byteable" "haskell-conduit" "haskell-conduit-extra"
          "haskell-cryptonite" "haskell-data-default" "haskell-email-validate"
@@ -26,7 +26,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 \
             -fnetwork-uri
@@ -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