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

Felix Yan felixonmars at archlinux.org
Tue Jun 27 15:16:42 UTC 2017


    Date: Tuesday, June 27, 2017 @ 15:16:41
  Author: felixonmars
Revision: 241225

upgpkg: haskell-servant 0.11-2

rebuild with http-media,0.7.0

Modified:
  haskell-servant/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-27 15:14:42 UTC (rev 241224)
+++ PKGBUILD	2017-06-27 15:16:41 UTC (rev 241225)
@@ -5,7 +5,7 @@
 _hkgname=servant
 pkgname=haskell-servant
 pkgver=0.11
-pkgrel=1
+pkgrel=2
 pkgdesc="A family of combinators for defining webservices APIs"
 url="http://haskell-servant.readthedocs.org/"
 license=("custom:BSD3")
@@ -17,6 +17,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('c5b3f7af140fdafd3f646dcea6720c1b3b8a376f1f19a020b200acde64846b03')
 
+prepare() {
+    sed -i 's/, http-media            >= 0.4  && < 0.7/, http-media            >= 0.4  \&\& < 0.8/' \
+        ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list