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

Felix Yan felixonmars at archlinux.org
Thu Jan 2 12:06:09 UTC 2020


    Date: Thursday, January 2, 2020 @ 12:06:08
  Author: felixonmars
Revision: 546045

upgpkg: haskell-ansi-wl-pprint 0.6.9-13: rebuild with ansi-terminal 0.10.1

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-02 11:59:27 UTC (rev 546044)
+++ PKGBUILD	2020-01-02 12:06:08 UTC (rev 546045)
@@ -4,7 +4,7 @@
 _hkgname=ansi-wl-pprint
 pkgname=haskell-ansi-wl-pprint
 pkgver=0.6.9
-pkgrel=12
+pkgrel=13
 pkgdesc="The Wadler/Leijen Pretty Printer for colored ANSI terminal output"
 url="https://github.com/ekmett/ansi-wl-pprint"
 license=("BSD")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('2a66236f740f0b45b6133555e8b1315dc85ece1c16dd51e4aa7f31d2fee03d66869af5f81e6383aa840f503c2cad46f3655f53b784ebca7b3480efb53eea2a04')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *0.10/<1/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list