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

Felix Yan felixonmars at archlinux.org
Sat Mar 7 21:56:16 UTC 2020


    Date: Saturday, March 7, 2020 @ 21:56:10
  Author: felixonmars
Revision: 591305

upgpkg: haskell-broadcast-chan 0.2.1-5: rebuild with unliftio-core 0.2.0.0

Modified:
  haskell-broadcast-chan/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-07 21:45:29 UTC (rev 591304)
+++ PKGBUILD	2020-03-07 21:56:10 UTC (rev 591305)
@@ -3,7 +3,7 @@
 _hkgname=broadcast-chan
 pkgname=haskell-broadcast-chan
 pkgver=0.2.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Closable, fair, single-wakeup channel type that avoids 0 reader space leaks"
 url="https://github.com/merijn/broadcast-chan"
 license=('BSD')
@@ -13,6 +13,12 @@
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('25e5f8bcc2c27d0cf21ca205f234048df64d6d881f24a48169b88ce198db525f12ea727962f7bf14e4ee6546e23b49c6b47aa1a44a3f3e7d6028d2bf12a01d1c')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *0.2/<1/' $_hkgname.cabal
+    sed -i 's/, UnliftIO/, askUnliftIO, UnliftIO/' BroadcastChan.hs
+}
+
 build() {
     cd $_hkgname-$pkgver    
     



More information about the arch-commits mailing list