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

Felix Yan felixonmars at archlinux.org
Sun Oct 14 15:25:03 UTC 2018


    Date: Sunday, October 14, 2018 @ 15:25:03
  Author: felixonmars
Revision: 393636

upgpkg: haskell-async 2.2.1-3

rebuild with ghc 8.6.1

Modified:
  haskell-async/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-14 15:21:49 UTC (rev 393635)
+++ PKGBUILD	2018-10-14 15:25:03 UTC (rev 393636)
@@ -4,7 +4,7 @@
 _hkgname=async
 pkgname=haskell-async
 pkgver=2.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Run IO operations asynchronously and wait for their results"
 url="https://github.com/simonmar/async"
 license=("custom:BSD3")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('65daa880d2c10fb235ddd431f7b1d80b2c3cc78c8dfba7deb7f1f60a6b6495f159daffa560ad84908687b083309c300765b4ba45a6f787b24d364f3c0e070749')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -e 's/< *4.12/<5/' -e 's/< *2.5/<3/' -i $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list