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

Felix Yan felixonmars at archlinux.org
Thu Dec 22 13:27:33 UTC 2016


    Date: Thursday, December 22, 2016 @ 13:27:32
  Author: felixonmars
Revision: 201020

upgpkg: haskell-persistent-template 2.5.1.6-19

rebuild with aeson-1.0.2.1

Modified:
  haskell-persistent-template/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-22 13:11:19 UTC (rev 201019)
+++ PKGBUILD	2016-12-22 13:27:32 UTC (rev 201020)
@@ -5,7 +5,7 @@
 _hkgname=persistent-template
 pkgname=haskell-persistent-template
 pkgver=2.5.1.6
-pkgrel=18
+pkgrel=19
 pkgdesc="Type-safe, non-relational, multi-backend persistence"
 url="http://www.yesodweb.com/book/persistent"
 license=("MIT")
@@ -14,12 +14,13 @@
          "haskell-monad-control" "haskell-monad-logger" "haskell-path-pieces"
          "haskell-persistent" "haskell-tagged" "haskell-text"
          "haskell-unordered-containers")
-source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('f88a8735173ba197f8d698a9c1fd5c649234fd60efe493f401432926a55e7b44')
 
 prepare() {
-    sed -i 's/http-api-data            >= 0.2       && < 0.3/http-api-data            >= 0.2       \&\& < 0.4/' \
-        $_hkgname-$pkgver/$_hkgname.cabal
+    sed -e 's/http-api-data            >= 0.2       && < 0.3/http-api-data            >= 0.2       \&\& < 0.4/' \
+        -e 's/aeson                    >= 0.7       && < 0.12/aeson                    >= 0.7       \&\& < 1.1/' \
+        -i $_hkgname-$pkgver/$_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list