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

Felix Yan felixonmars at archlinux.org
Fri May 18 07:27:33 UTC 2018


    Date: Friday, May 18, 2018 @ 07:27:32
  Author: felixonmars
Revision: 324255

upgpkg: haskell-xcb-types 0.9.0-2

rebuild with ghc 8.4.2

Modified:
  haskell-xcb-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-18 07:22:58 UTC (rev 324254)
+++ PKGBUILD	2018-05-18 07:27:32 UTC (rev 324255)
@@ -5,16 +5,21 @@
 _hkgname=xcb-types
 pkgname=haskell-xcb-types
 pkgver=0.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Parses XML files used by the XCB project"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-mtl' 'haskell-xml')
+depends=('ghc-libs' 'haskell-xml')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('0e2a3b76ec61cb8bcd4625940a50886867c1b88d95db778933162bd856bff5d63017d77c533593253d79fded47e91fd15165814ec91843f402ebe29ddac608c3')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i '/import Data.Maybe/a import Prelude hiding ((<>))' Data/XCB/Pretty.hs
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list