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

Felix Yan fyan at archlinux.org
Sat Dec 26 03:08:40 UTC 2015


    Date: Saturday, December 26, 2015 @ 04:08:39
  Author: fyan
Revision: 154553

upgpkg: haskell-persistent-template 2.1.4-9

use aeson-compat

Modified:
  haskell-persistent-template/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-26 02:54:18 UTC (rev 154552)
+++ PKGBUILD	2015-12-26 03:08:39 UTC (rev 154553)
@@ -5,12 +5,12 @@
 _hkgname=persistent-template
 pkgname=haskell-persistent-template
 pkgver=2.1.4
-pkgrel=8
+pkgrel=9
 pkgdesc="Type-safe, non-relational, multi-backend persistence"
 url="http://www.yesodweb.com/book/persistent"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-extra" "haskell-http-api-data"
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-compat" "haskell-http-api-data"
          "haskell-monad-control" "haskell-monad-logger" "haskell-path-pieces"
          "haskell-persistent" "haskell-tagged" "haskell-text"
          "haskell-unordered-containers")
@@ -19,6 +19,11 @@
 install="${pkgname}.install"
 sha256sums=('ed9e415d49288c7857febf978e4d97195c95113b9def30655894b48560999bce')
 
+prepare() {
+    cd "${srcdir}/${_hkgname}-${pkgver}"
+    sed -i 's/aeson-extra              >= 0.2.1.0   && < 0.3/aeson-compat/' $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list