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

Felix Yan felixonmars at archlinux.org
Thu Apr 6 18:18:21 UTC 2017


    Date: Thursday, April 6, 2017 @ 18:18:20
  Author: felixonmars
Revision: 221108

upgpkg: haskell-dbus 0.10.12-10

rebuild with primitive,0.6.2.0 vector,0.12.0.1

Modified:
  haskell-dbus/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-06 18:17:20 UTC (rev 221107)
+++ PKGBUILD	2017-04-06 18:18:20 UTC (rev 221108)
@@ -5,7 +5,7 @@
 _hkgname=dbus
 pkgname=haskell-dbus
 pkgver=0.10.12
-pkgrel=9
+pkgrel=10
 pkgdesc="A client library for the D-Bus IPC system"
 url="https://john-millikin.com/software/haskell-dbus/"
 license=("GPL3")
@@ -13,9 +13,13 @@
 depends=("ghc=8.0.1" "haskell-cereal" "haskell-libxml-sax" "haskell-network"
          "haskell-parsec" "haskell-random" "haskell-text" "haskell-vector"
          "haskell-xml-types")
-source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('f6d7b5640eb03e9598e38b1a2b2e7af1e9d357f3f845fc9528f9750965b92d54')
 
+prepare() {
+    sed -i 's/, vector >= 0.7 && < 0.12/, vector >= 0.7 \&\& < 0.13/' ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list