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

Felix Yan felixonmars at archlinux.org
Sat Nov 3 05:53:02 UTC 2018


    Date: Saturday, November 3, 2018 @ 05:53:02
  Author: felixonmars
Revision: 401312

upgpkg: haskell-easytest 0.2.1-1

rebuild with easytest 0.2.1

Modified:
  haskell-easytest/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-03 05:46:02 UTC (rev 401311)
+++ PKGBUILD	2018-11-03 05:53:02 UTC (rev 401312)
@@ -2,8 +2,8 @@
 
 _hkgname=easytest
 pkgname=haskell-easytest
-pkgver=0.2
-pkgrel=5
+pkgver=0.2.1
+pkgrel=1
 pkgdesc="Simple, expressive testing library"
 url="https://github.com/joelburget/easytest"
 license=('MIT')
@@ -12,12 +12,11 @@
          'haskell-random')
 makedepends=('ghc')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('6509950950eda804b3a8eac8130857c19877944e4e8b653bc20189c65c9070cebfb55bd3b68ac0a22aa25fd6e040f36c10d37c70778a0f1e1b2b4c68188eda97')
+sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928')
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i 's/< *0.6/<1/' $_hkgname.cabal
-    sed -i '1i{-# language NoMonadFailDesugaring #-}' src/EasyTest/Generators.hs
+    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
 }
 
 build() {


More information about the arch-commits mailing list