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

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


    Date: Thursday, April 23, 2020 @ 14:47:14
  Author: felixonmars
Revision: 618224

upgpkg: haskell-regex-posix 0.96.0.0-4: rebuild with ghc 8.10.1

Modified:
  haskell-regex-posix/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-23 14:45:24 UTC (rev 618223)
+++ PKGBUILD	2020-04-23 14:47:14 UTC (rev 618224)
@@ -5,7 +5,7 @@
 _hkgname=regex-posix
 pkgname=haskell-regex-posix
 pkgver=0.96.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc='POSIX Backend for Text.Regex (regex-base)'
 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=('91bdc672a535cd1a6a65b1ae2adef43605b792ec9f99150fa239ab4353cddad47988ac7baa65673c53be36e83c8fad1511ba85fb5f7b43c51b4ae526d9af248a')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *4.14/<5/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list