[arch-commits] Commit in haskell-ormolu/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Aug 7 17:40:55 UTC 2021
Date: Saturday, August 7, 2021 @ 17:40:55
Author: felixonmars
Revision: 994680
upgpkg: haskell-ormolu 0.2.0.0-1: rebuild with ormolu 0.2.0.0
Modified:
haskell-ormolu/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-07 17:23:03 UTC (rev 994679)
+++ PKGBUILD 2021-08-07 17:40:55 UTC (rev 994680)
@@ -2,25 +2,22 @@
_hkgname=ormolu
pkgname=haskell-ormolu
-pkgver=0.1.4.1
-pkgrel=86
+pkgver=0.2.0.0
+pkgrel=1
pkgdesc="A formatter for Haskell source code"
url="https://github.com/tweag/ormolu"
license=("BSD")
arch=('x86_64')
-depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist' 'haskell-ghc-lib-parser'
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-diff' 'haskell-dlist'
'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-path' 'haskell-path-io')
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha512sums=('b63b7c185bb80365dbc5359f3c8aed3015abcf50b4937dfe941dc65572b57c9403269e82cf4067cd8eca67130b98aea8f85d889a3270e066de4eb507260f0d6b')
+sha512sums=('3fe6985cdaf88a9bc48bcf275385819be14a1b4ced89f0ed65f8849defa1558ae679af60e27b6f59d6f9212eff152fbba750d1e9d91669ae29a5995efc8e5692')
prepare() {
cd $_hkgname-$pkgver
- uusi -u path $_hkgname.cabal
- # uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
- # sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
-
- sed -i 's/matchIgnoringSrcSpans = genericQuery/matchIgnoringSrcSpans x = genericQuery x/;1i{-# LANGUAGE ImpredicativeTypes #-}' src/Ormolu/Diff/ParseResult.hs
+ uusi -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+ sed -i 's/using ghc-lib-parser/using ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.hs
}
build() {
More information about the arch-commits
mailing list