Date: Tuesday, October 16, 2018 @ 21:27:24
  Author: felixonmars
Revision: 394863

upgpkg: haskell-http 4000.3.12-73

rebuild with ghc 8.6.1

Modified:
  haskell-http/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-10-16 21:27:10 UTC (rev 394862)
+++ PKGBUILD    2018-10-16 21:27:24 UTC (rev 394863)
@@ -4,7 +4,7 @@
 _hkgname=HTTP
 pkgname=haskell-http
 pkgver=4000.3.12
-pkgrel=72
+pkgrel=73
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')
@@ -17,6 +17,11 @@
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
 
sha512sums=('684741c017fd39c6a7ff1d75f182b465938d5c2a2abe92a0fcaec69a46fc11e59234c1b666ecf28465333df34ea267443fd56abaa38db21479cbcc19e286781e')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *4.12/<5/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 

Reply via email to