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

Felix Yan felixonmars at archlinux.org
Sat Sep 3 06:37:54 UTC 2016


    Date: Saturday, September 3, 2016 @ 06:37:53
  Author: felixonmars
Revision: 188337

upgpkg: haskell-persistent 2.6-2

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/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-03 05:52:03 UTC (rev 188336)
+++ PKGBUILD	2016-09-03 06:37:53 UTC (rev 188337)
@@ -5,7 +5,7 @@
 _hkgname=persistent
 pkgname=haskell-persistent
 pkgver=2.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Type-safe, multi-backend data serialization"
 url="http://www.yesodweb.com/book/persistent"
 license=("MIT")
@@ -20,6 +20,11 @@
 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('42423362de94599581d18be644ba77181e87417087b3953daec2e8512d408e3e')
 
+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