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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 10:57:07 UTC 2017


    Date: Thursday, June 15, 2017 @ 10:57:02
  Author: felixonmars
Revision: 237145

upgpkg: haskell-persistent 2.6.1-36

rebuild with ghc,8.0.2

Modified:
  haskell-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 10:53:39 UTC (rev 237144)
+++ PKGBUILD	2017-06-15 10:57:02 UTC (rev 237145)
@@ -5,12 +5,12 @@
 _hkgname=persistent
 pkgname=haskell-persistent
 pkgver=2.6.1
-pkgrel=35
+pkgrel=36
 pkgdesc="Type-safe, multi-backend data serialization"
 url="http://www.yesodweb.com/book/persistent"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-attoparsec" "haskell-base64-bytestring"
+depends=("ghc" "haskell-aeson" "haskell-attoparsec" "haskell-base64-bytestring"
          "haskell-blaze-html" "haskell-blaze-markup" "haskell-conduit" "haskell-exceptions"
          "haskell-fast-logger" "haskell-http-api-data" "haskell-lifted-base"
          "haskell-monad-control" "haskell-monad-logger" "haskell-mtl" "haskell-old-locale"
@@ -23,7 +23,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-nooverlap
@@ -45,4 +45,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