[arch-commits] Commit in ghc-mod/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Aug 5 14:18:24 UTC 2017


    Date: Saturday, August 5, 2017 @ 14:18:23
  Author: felixonmars
Revision: 248691

upgpkg: ghc-mod 5.8.0.0-31

rebuild with syb,0.7

Modified:
  ghc-mod/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-05 12:37:09 UTC (rev 248690)
+++ PKGBUILD	2017-08-05 14:18:23 UTC (rev 248691)
@@ -5,7 +5,7 @@
 pkgname=ghc-mod
 pkgver=5.8.0.0
 _commit=9ab25526b8690daecaa3d34a7e30f022f7b388bc
-pkgrel=30
+pkgrel=31
 pkgdesc="Happy Haskell Programming"
 url="http://www.mew.org/~kazu/proj/ghc-mod/"
 license=("AGPL3")
@@ -23,7 +23,9 @@
 
 prepare() {
     cd $pkgname-$_commit
-    sed -i 's/, optparse-applicative == 0.13.0.*/, optparse-applicative == 0.13.*/' ghc-mod.cabal
+    sed -e 's/, optparse-applicative == 0.13.0.*/, optparse-applicative == 0.13.*/' \
+        -e 's/, syb                  < 0.7  && >= 0.5.1/, syb                  < 0.8  \&\& >= 0.5.1/' \
+        -i ghc-mod.cabal
 }
 
 build() {



More information about the arch-commits mailing list