Date: Thursday, January 31, 2019 @ 23:44:46 Author: felixonmars Revision: 428950
patch submitted upstream Modified: hindent/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-01-31 23:40:04 UTC (rev 428949) +++ PKGBUILD 2019-01-31 23:44:46 UTC (rev 428950) @@ -12,15 +12,14 @@ 'haskell-path' 'haskell-path-io' 'haskell-src-exts' 'haskell-unix-compat' 'haskell-utf8-string' 'haskell-yaml') makedepends=('ghc' 'haskell-diff' 'haskell-hspec') -source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('9538486abe1c7638710825ee903fd9f97eab3c906c30a036c396dcb3c806e1c803e9e1a408b392c98652d10d02fb1f27472ae8475a9dceae3e46cc361f237cf5') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" + https://github.com/chrisdone/hindent/pull/537.patch) +sha512sums=('9538486abe1c7638710825ee903fd9f97eab3c906c30a036c396dcb3c806e1c803e9e1a408b392c98652d10d02fb1f27472ae8475a9dceae3e46cc361f237cf5' + 'f11d905ec785aa3a4fe6ded720a665677d78a623608bde594bb0df0813503eb688a6c7b3012aea307dedbb5ccfd634048ac5d2214d11227d7523c5900371a2b8') 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 + patch -p1 -i ../537.patch } build() {