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

Felix Yan felixonmars at archlinux.org
Mon Oct 15 19:50:38 UTC 2018


    Date: Monday, October 15, 2018 @ 19:50:37
  Author: felixonmars
Revision: 394297

upgpkg: haskell-hspec-megaparsec 1.1.0-4

rebuild with ghc 8.6.1

Modified:
  haskell-hspec-megaparsec/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-15 19:48:12 UTC (rev 394296)
+++ PKGBUILD	2018-10-15 19:50:37 UTC (rev 394297)
@@ -3,7 +3,7 @@
 _hkgname=hspec-megaparsec
 pkgname=haskell-hspec-megaparsec
 pkgver=1.1.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Utility functions for testing Megaparsec parsers with Hspec"
 url="https://github.com/goldfirere/hspec-megaparsec"
 license=('BSD')
@@ -13,6 +13,11 @@
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('a6d93b72e3048bd3d67d016dcb98d3e176178e303d0fceea49dd0b67535a507d9683d9d9189924c512400f30a9b9224bb35338cb5ef497d136b6d021b2575df8')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *0.6/<1/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list