[arch-commits] Commit in haskell-ansi-wl-pprint/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Dec 7 11:59:06 UTC 2017


    Date: Thursday, December 7, 2017 @ 11:59:03
  Author: felixonmars
Revision: 272949

upgpkg: haskell-ansi-wl-pprint 0.6.8.1-5

rebuild with ansi-terminal,0.7.1.1 stack,1.6.1

Modified:
  haskell-ansi-wl-pprint/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-07 11:43:56 UTC (rev 272948)
+++ PKGBUILD	2017-12-07 11:59:03 UTC (rev 272949)
@@ -5,16 +5,20 @@
 _hkgname=ansi-wl-pprint
 pkgname=haskell-ansi-wl-pprint
 pkgver=0.6.8.1
-pkgrel=4
+pkgrel=5
 pkgdesc="The Wadler/Leijen Pretty Printer for colored ANSI terminal output"
 url="https://github.com/ekmett/ansi-wl-pprint"
 license=("custom:BSD3")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-ansi-terminal")
+depends=('ghc-libs' 'haskell-ansi-terminal')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('0182a691af05fcc8cd28a4f01904ff96e6f844ef27b8cfe1d34a8d8c012c3a9b31852d38ca123604b6fb1e0fd330d2cb593eef95ff5a353b6ecbea7937eddf2d')
 
+prepare() {
+    sed -i 's/ansi-terminal >= 0.4.0 && < 0.7/ansi-terminal >= 0.4/' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list