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

Felix Yan felixonmars at archlinux.org
Thu Apr 23 14:52:29 UTC 2020


    Date: Thursday, April 23, 2020 @ 14:52:29
  Author: felixonmars
Revision: 618228

upgpkg: haskell-regex-compat 0.95.2.0-4: rebuild with ghc 8.10.1

Modified:
  haskell-regex-compat/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-23 14:51:29 UTC (rev 618227)
+++ PKGBUILD	2020-04-23 14:52:29 UTC (rev 618228)
@@ -5,7 +5,7 @@
 _hkgname=regex-compat
 pkgname=haskell-regex-compat
 pkgver=0.95.2.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Replaces and enhances Text.Regex'
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('BSD')
@@ -15,6 +15,11 @@
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
 sha512sums=('8b1b421f5e7688a1d4a61711a255505a047e90e9f9283a8cf2ebfa9774631e8fb3a071d61877ab22548a0c63e30237603196f043dac9cb64da4df2fdc4422300')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *4.14/<5/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list