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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 08:48:18 UTC 2017


    Date: Friday, June 16, 2017 @ 08:48:18
  Author: felixonmars
Revision: 237555

upgpkg: haskell-yesod-form 1.4.12-23

rebuild with ghc,8.0.2

Modified:
  haskell-yesod-form/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 08:45:12 UTC (rev 237554)
+++ PKGBUILD	2017-06-16 08:48:18 UTC (rev 237555)
@@ -5,15 +5,14 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.4.12
-pkgrel=22
+pkgrel=23
 pkgdesc="Form handling support for Yesod Web Framework"
 url="http://www.yesodweb.com/"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-attoparsec" "haskell-blaze-builder"
-         "haskell-blaze-html" "haskell-blaze-markup" "haskell-byteable"
-         "haskell-data-default" "haskell-email-validate" "haskell-network-uri"
-         "haskell-persistent" "haskell-resourcet" "haskell-semigroups"
+depends=("ghc" "haskell-aeson" "haskell-attoparsec" "haskell-blaze-builder" "haskell-blaze-html"
+         "haskell-blaze-markup" "haskell-byteable" "haskell-data-default" "haskell-email-validate"
+         "haskell-network-uri" "haskell-persistent" "haskell-resourcet" "haskell-semigroups"
          "haskell-shakespeare" "haskell-text" "haskell-wai" "haskell-xss-sanitize"
          "haskell-yesod-core" "haskell-yesod-persistent")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
@@ -22,7 +21,7 @@
 build() {
     cd $_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
@@ -44,4 +43,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