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

Felix Yan felixonmars at archlinux.org
Thu Jan 31 23:31:22 UTC 2019


    Date: Thursday, January 31, 2019 @ 23:31:21
  Author: felixonmars
Revision: 428938

upgpkg: hindent 5.2.7-63

rebuild with haskell-src-exts 1.21.0

Modified:
  hindent/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-31 22:40:22 UTC (rev 428937)
+++ PKGBUILD	2019-01-31 23:31:21 UTC (rev 428938)
@@ -3,7 +3,7 @@
 
 pkgname=hindent
 pkgver=5.2.7
-pkgrel=62
+pkgrel=63
 pkgdesc="Extensible Haskell pretty printer"
 url="https://github.com/commercialhaskell/hindent"
 license=("BSD")
@@ -15,6 +15,14 @@
 source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha512sums=('9538486abe1c7638710825ee903fd9f97eab3c906c30a036c396dcb3c806e1c803e9e1a408b392c98652d10d02fb1f27472ae8475a9dceae3e46cc361f237cf5')
 
+prepare() {
+    cd $pkgname-$pkgver
+    sed -i -e '/instance Pretty Kind/,+2d' \
+           -e 's/GadtDecl _ name fields t/GadtDecl _ name tyvarbind context fields t/' \
+           -e '/typ (TyList/a typ (TyStar _) = write "*"' \
+           src/HIndent/Pretty.hs
+}
+
 build() {
     cd $pkgname-$pkgver
     



More information about the arch-commits mailing list