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

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


    Date: Thursday, April 23, 2020 @ 14:43:54
  Author: felixonmars
Revision: 618220

upgpkg: haskell-regex-base 0.94.0.0-4: rebuild with ghc 8.10.1

Modified:
  haskell-regex-base/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-23 14:42:26 UTC (rev 618219)
+++ PKGBUILD	2020-04-23 14:43:54 UTC (rev 618220)
@@ -5,7 +5,7 @@
 _hkgname=regex-base
 pkgname=haskell-regex-base
 pkgver=0.94.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Common "Text.Regex.*" API for Regex matching'
 url='https://hackage.haskell.org/cgi-bin/hackage-scripts/package/regex-base'
 license=('BSD')
@@ -15,6 +15,11 @@
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
 sha512sums=('4e7120e1a2b63fd3e4e15cefc540e82ab0949f51e19f495d4cf4edbe8428ffdf2f114df3504f66049fbb790d5310c59daaf0ed3a71c5acccfe205dccc4567045')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *4.14/<5/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list