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

Felix Yan felixonmars at archlinux.org
Sat Apr 25 00:58:21 UTC 2020


    Date: Saturday, April 25, 2020 @ 00:58:20
  Author: felixonmars
Revision: 619657

upgpkg: haskell-dbus 1.2.13-7: rebuild with ghc 8.10.1, protolude 0.3.0, repline 0.3.0.0, ghc-lib-parser-ex 8.10.0.1, th-desugar 1.11, singletons 2.7

Modified:
  haskell-dbus/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-25 00:45:11 UTC (rev 619656)
+++ PKGBUILD	2020-04-25 00:58:20 UTC (rev 619657)
@@ -4,12 +4,12 @@
 _hkgname=dbus
 pkgname=haskell-dbus
 pkgver=1.2.13
-pkgrel=6
+pkgrel=7
 pkgdesc="A client library for the D-Bus IPC system"
 url="https://john-millikin.com/software/haskell-dbus/"
 license=("GPL3")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-cereal' 'haskell-conduit' 'haskell-exceptions' 'haskell-lens'
+depends=('ghc-libs' 'haskell-cereal' 'haskell-conduit' 'haskell-lens'
          'haskell-network' 'haskell-random' 'haskell-split' 'haskell-th-lift'
          'haskell-vector' 'haskell-xml-conduit' 'haskell-xml-types')
 makedepends=('ghc' 'haskell-extra' 'haskell-quickcheck' 'haskell-resourcet' 'haskell-tasty'
@@ -17,6 +17,13 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('93f0ba057e9e7753aa11c201283c4e0b6fb8ef76dc063de772c0772616eadcc207f0aef6d059d17fc7412cfb6a9f7011608038bb76ac3ff2a398a678ec48d2c7')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *2.16/<3/' $_hkgname.cabal
+    sed -i 's/TupE/mkTupE/' lib/DBus/Generation.hs
+    sed -i '/type ClientBusPathR/i mkTupE :: [Exp] -> Exp\nmkTupE = TupE . map Just\n' lib/DBus/Generation.hs
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list