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

Felix Yan felixonmars at archlinux.org
Mon Feb 10 15:12:31 UTC 2020


    Date: Monday, February 10, 2020 @ 15:12:31
  Author: felixonmars
Revision: 565905

upgpkg: haskell-hakyll 4.12.5.2-159

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-10 14:17:38 UTC (rev 565904)
+++ PKGBUILD	2020-02-10 15:12:31 UTC (rev 565905)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.12.5.2
-pkgrel=158
+pkgrel=159
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll"
 license=("BSD")
@@ -23,7 +23,9 @@
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i -e 's/< *2.8/<3/' -e 's/< *2.13/<3/' -e 's/< *3.3/<4/' -e 's/< *0.15/<1/' $_hkgname.cabal
+    sed -i -e 's/< *1.3/<2/' -e 's/< *2.8/<3/' -e 's/< *2.13/<3/' -e 's/< *3.3/<4/' -e 's/< *0.15/<1/' $_hkgname.cabal
+    sed -i 's/fail /error /' lib/Hakyll/Core/Metadata.hs lib/Hakyll/Web/Redirect.hs lib/Hakyll/Web/Template/Context.hs
+    sed -i '/fail = /i instance MonadFail Compiler where' lib/Hakyll/Core/Compiler/Internal.hs
 }
 
 build() {



More information about the arch-commits mailing list