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

Felix Yan felixonmars at archlinux.org
Thu Apr 23 15:01:15 UTC 2020


    Date: Thursday, April 23, 2020 @ 15:01:13
  Author: felixonmars
Revision: 618246

upgpkg: haskell-setlocale 1.0.0.9-5: rebuild with ghc 8.10.1

Modified:
  haskell-setlocale/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-23 14:59:45 UTC (rev 618245)
+++ PKGBUILD	2020-04-23 15:01:13 UTC (rev 618246)
@@ -4,7 +4,7 @@
 pkgname=haskell-setlocale
 _hkgname=setlocale
 pkgver=1.0.0.9
-pkgrel=4
+pkgrel=5
 pkgdesc="Haskell bindings to setlocale"
 url="https://hackage.haskell.org/package/setlocale"
 license=('BSD')
@@ -14,6 +14,11 @@
 source=(https://hackage.haskell.org/packages/archive/setlocale/${pkgver}/setlocale-${pkgver}.tar.gz)
 sha512sums=('32a0722c46b6db15b4566b78f418efe3c8a5d6e25181ebf275a47a68b12e4740479df6ef38070ec978eb109f5b1e2956262dcf4367869bec78dc41d6890632cd')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *4.14/<5/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list