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

Felix Yan fyan at archlinux.org
Mon Apr 11 13:21:19 UTC 2016


    Date: Monday, April 11, 2016 @ 15:21:18
  Author: fyan
Revision: 170438

upgpkg: haskell-yaml 0.8.17-1

rebuild with http-client-0.4.27.1, http-client-tls-0.2.3, http-conduit-2.1.9, yaml-0.8.17, yesod-1.4.3, yesod-auth-1.4.13.1, yesod-core-1.4.20.1

Modified:
  haskell-yaml/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-11 13:20:23 UTC (rev 170437)
+++ PKGBUILD	2016-04-11 13:21:18 UTC (rev 170438)
@@ -4,8 +4,8 @@
 
 _hkgname=yaml
 pkgname=haskell-yaml
-pkgver=0.8.16
-pkgrel=12
+pkgver=0.8.17
+pkgrel=1
 pkgdesc="Support for parsing and rendering YAML documents."
 url="http://github.com/snoyberg/yaml/"
 license=("custom:BSD3")
@@ -16,8 +16,13 @@
 options=('staticlibs')
 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 install="${pkgname}.install"
-sha256sums=('d68ad3dd16e4b8ba943d0f58666d1f53be24923088df15f46be44bbbaf85c529')
+sha256sums=('65d8585e80c334318d0c6b1fbefaf07f8e99163b8eff2166decea7b21185d397')
 
+prepare() {
+    # Needed only for examples, which won't be built
+    sed -i '/raw-strings-qq/d' ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     
@@ -24,7 +29,7 @@
     runhaskell Setup configure -O --enable-library-profiling --enable-shared \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-no-unicode -f-system-libyaml -f-no-exe
+            -f-no-unicode -f-system-libyaml -f-no-exe -fno-examples
     runhaskell Setup build
     runhaskell Setup haddock --hoogle --html
     runhaskell Setup register --gen-script



More information about the arch-commits mailing list