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

Felix Yan felixonmars at archlinux.org
Sat Jun 3 09:29:58 UTC 2017


    Date: Saturday, June 3, 2017 @ 09:29:57
  Author: felixonmars
Revision: 233648

upgpkg: haskell-either 4.4.1.1-22

rebuild with mmorph,1.1.0

Modified:
  haskell-either/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-03 09:14:02 UTC (rev 233647)
+++ PKGBUILD	2017-06-03 09:29:57 UTC (rev 233648)
@@ -5,7 +5,7 @@
 _hkgname=either
 pkgname=haskell-either
 pkgver=4.4.1.1
-pkgrel=21
+pkgrel=22
 pkgdesc="An either monad transformer"
 url="http://github.com/ekmett/either/"
 license=("custom:BSD3")
@@ -18,7 +18,9 @@
 sha256sums=('b087cb0fb63fec2fbdcac05fef0d03751daef5deb86cda3c732b9a6a31e634d3')
 
 prepare() {
-    sed -i 's/MonadRandom       >= 0.1     && < 0.5,/MonadRandom       >= 0.1     \&\& < 0.6,/' ${_hkgname}-${pkgver}/${_hkgname}.cabal
+    sed -e 's/MonadRandom       >= 0.1     && < 0.5,/MonadRandom       >= 0.1     \&\& < 0.6,/' \
+        -e 's/mmorph            >= 1.0.0   && < 1.1,/mmorph            >= 1.0.0   \&\& < 1.2,/' \
+        -i ${_hkgname}-${pkgver}/${_hkgname}.cabal
 }
 
 build() {



More information about the arch-commits mailing list