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

Felix Yan fyan at archlinux.org
Wed Mar 2 05:45:24 UTC 2016


    Date: Wednesday, March 2, 2016 @ 06:45:24
  Author: fyan
Revision: 164056

upgpkg: haskell-aeson-compat 0.3.1.0-4

rebuild with aeson-0.11.1.0, base-orphans-0.5.3, hlint-1.9.31, git-annex-6.20160229, hpack-0.10.0, stylish-haskell-0.5.15.2, wai-extra-3.0.14.1

Modified:
  haskell-aeson-compat/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-02 05:27:02 UTC (rev 164055)
+++ PKGBUILD	2016-03-02 05:45:24 UTC (rev 164056)
@@ -5,7 +5,7 @@
 _hkgname=aeson-compat
 pkgname=haskell-aeson-compat
 pkgver=0.3.1.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Compatibility layer for aeson"
 url="http://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -19,8 +19,10 @@
 sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
 
 prepare() {
-    # Empty package in new GHC
-    sed -i '/nats/d' ${_hkgname}-${pkgver}/${_hkgname}.cabal
+    # nats is an empty package in new GHC
+    sed -e '/nats/d' \
+        -e 's/aeson                    >=0.7.0.6 && <0.11.1/aeson                    >=0.7.0.6 \&\& <0.12/' \
+        -i ${_hkgname}-${pkgver}/${_hkgname}.cabal
 }
 
 build() {



More information about the arch-commits mailing list