[arch-commits] Commit in haskell-megaparsec/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 15 19:47:57 UTC 2018
Date: Monday, October 15, 2018 @ 19:47:56
Author: felixonmars
Revision: 394295
upgpkg: haskell-megaparsec 6.5.0-26
rebuild with ghc 8.6.1
Modified:
haskell-megaparsec/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-15 19:40:36 UTC (rev 394294)
+++ PKGBUILD 2018-10-15 19:47:56 UTC (rev 394295)
@@ -4,7 +4,7 @@
_hkgname=megaparsec
pkgname=haskell-megaparsec
pkgver=6.5.0
-pkgrel=25
+pkgrel=26
pkgdesc="Monadic parser combinators"
url="https://github.com/mrkkrp/megaparsec"
license=("custom:BSD2")
@@ -18,7 +18,8 @@
prepare() {
cd $_hkgname-$pkgver
- sed -i 's/<.*1.0/<2/' $_hkgname.cabal
+ sed -i -e 's/<.*1.0/<2/' -e 's/< *0.6/<1/' $_hkgname.cabal
+ sed -i '1i{-# language NoMonadFailDesugaring #-}' tests/Text/MegaparsecSpec.hs
}
build() {
More information about the arch-commits
mailing list