[arch-commits] Commit in haskell-fourmolu/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Jul 7 23:50:05 UTC 2022
Date: Thursday, July 7, 2022 @ 23:50:04
Author: felixonmars
Revision: 1248472
upgpkg: haskell-fourmolu 0.4.0.0-1: rebuild with fourmolu 0.4.0.0
Modified:
haskell-fourmolu/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-07 23:45:35 UTC (rev 1248471)
+++ PKGBUILD 2022-07-07 23:50:04 UTC (rev 1248472)
@@ -2,25 +2,24 @@
_hkgname=fourmolu
pkgname=haskell-fourmolu
-pkgver=0.3.0.0
-pkgrel=175
+pkgver=0.4.0.0
+pkgrel=1
pkgdesc="A formatter for Haskell source code"
url="https://github.com/parsonsmatt/fourmolu"
license=("BSD")
arch=('x86_64')
-depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-dlist'
- 'haskell-ghc-lib-parser' 'haskell-gitrev' 'haskell-optparse-applicative' 'haskell-syb')
-makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io')
+depends=('ghc-libs' 'haskell-diff' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson'
+ 'haskell-ansi-terminal' 'haskell-dlist' 'haskell-ghc-lib-parser' 'haskell-gitrev'
+ 'haskell-optparse-applicative' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-path' 'haskell-path-io'
+ 'haskell-temporary')
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d')
+sha256sums=('8b7bfe613a42b11a398fa5d2aa2bb25b04c18f921ee26f20775a1faaad8100d7')
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.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