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

Felix Yan felixonmars at archlinux.org
Mon Oct 15 18:47:54 UTC 2018


    Date: Monday, October 15, 2018 @ 18:47:53
  Author: felixonmars
Revision: 394259

upgpkg: haskell-hspec-core 2.5.5-7

rebuild with ghc 8.6.1

Modified:
  haskell-hspec-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-15 18:42:19 UTC (rev 394258)
+++ PKGBUILD	2018-10-15 18:47:53 UTC (rev 394259)
@@ -3,7 +3,7 @@
 _hkgname=hspec-core
 pkgname=haskell-hspec-core
 pkgver=2.5.5
-pkgrel=6
+pkgrel=7
 pkgdesc="A Testing Framework for Haskell"
 url="http://hspec.github.io/"
 license=('MIT')
@@ -15,6 +15,11 @@
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('7c73a9cc9425b28c734af08821d14f42a6a9ec527a742b52684027ccc03f3c8c7e817a5dbc9972f7de0c0a302c0956e72008aa79f00c3e8fbdc5384763a0f92c')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i '1i{-# language NoMonadFailDesugaring #-}' test/Test/Hspec/Core/Example/LocationSpec.hs
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list