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

Felix Yan felixonmars at archlinux.org
Fri Apr 24 18:08:07 UTC 2020


    Date: Friday, April 24, 2020 @ 18:08:05
  Author: felixonmars
Revision: 619432

upgpkg: haskell-zlib 0.6.2.1-5: rebuild with ghc 8.10.1, protolude 0.3.0, repline 0.3.0.0, ghc-lib-parser-ex 8.10.0.1

Modified:
  haskell-zlib/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-24 18:04:35 UTC (rev 619431)
+++ PKGBUILD	2020-04-24 18:08:05 UTC (rev 619432)
@@ -3,7 +3,7 @@
 
 pkgname=haskell-zlib
 pkgver=0.6.2.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Compression and decompression in the gzip and zlib formats"
 url="https://hackage.haskell.org/package/zlib"
 license=('BSD')
@@ -13,6 +13,11 @@
 source=(https://hackage.haskell.org/packages/archive/zlib/${pkgver}/zlib-${pkgver}.tar.gz)
 sha512sums=('cee7942a86afbd08f03c19abd88154cc866a3ccc52342264d4d5b28a71643adf30bf03ba939d6a98b7c065752f9ec326729fc38cfe72b66998551c89186048c5')
 
+prepare() {
+    cd zlib-$pkgver
+    sed -i 's/< *4.14/<5/' zlib.cabal
+}
+
 build() {
     cd "$srcdir"/zlib-${pkgver}
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \



More information about the arch-commits mailing list