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

Felix Yan felixonmars at archlinux.org
Sat Sep 3 07:43:41 UTC 2016


    Date: Saturday, September 3, 2016 @ 07:43:40
  Author: felixonmars
Revision: 188343

upgpkg: haskell-persistent-template 2.5.1.6-3

rebuild with HUnit-1.3.1.2, hindent-5.2.1, http-api-data-0.3, http-client-0.5.3.1, shakespeare-2.0.11.1, utility-ht-0.0.12, yaml-0.8.18.4, yesod-auth-1.4.13.5, yesod-static-1.5.0.4

Modified:
  haskell-persistent-template/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-03 07:37:27 UTC (rev 188342)
+++ PKGBUILD	2016-09-03 07:43:40 UTC (rev 188343)
@@ -5,7 +5,7 @@
 _hkgname=persistent-template
 pkgname=haskell-persistent-template
 pkgver=2.5.1.6
-pkgrel=2
+pkgrel=3
 pkgdesc="Type-safe, non-relational, multi-backend persistence"
 url="http://www.yesodweb.com/book/persistent"
 license=("MIT")
@@ -17,6 +17,11 @@
 source=("http://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
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list