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

Felix Yan felixonmars at archlinux.org
Sun Mar 8 15:42:45 UTC 2020


    Date: Sunday, March 8, 2020 @ 15:42:44
  Author: felixonmars
Revision: 592176

upgpkg: haskell-incremental-parser 0.4-5: rebuild with rank2classes 1.4

Modified:
  haskell-incremental-parser/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 15:41:59 UTC (rev 592175)
+++ PKGBUILD	2020-03-08 15:42:44 UTC (rev 592176)
@@ -4,7 +4,7 @@
 _hkgname=incremental-parser
 pkgname=haskell-incremental-parser
 pkgver=0.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Generic parser library capable of providing partial results from partial input."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('GPL')
@@ -15,6 +15,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('ee02235b3a0ad2828dfcafaf460aeea03b097284354983be8bfeec82a61c8b27aa27e30e3c453a0e0cd8fb77d82fdb2b375b1639c041d16eeb33a2c2de8b793e')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *1.4/<2/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list