Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
haskell-hls-hlint-plugin


Commits:
02c01e06 by Felix Yan at 2024-02-26T22:36:07+00:00
upgpkg: 1.1.2.0-36: rebuild with GHC 9.2.8, apply-refact 0.11.0.0, 
cabal-install-parsers 0.4.5,cabal-plan 0.7.2.1, dbus 1.3.1, doctest-parallel 
0.3.1, filepath-bytestring 1.4.2.1.13, fourmolu 0.9.0.0, ghc-exactprint 1.5.0, 
ghc-lib-parser 9.2.8.20230729, ghc-lib-parser-ex 9.2.1.1, hlint 3.4.1, ormolu 
0.5.0.1, resolv 0.2.0.2, retrie 1.2.2, stack 2.9.1, stylish-haskell 0.14.3.0

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
 pkgbase = haskell-hls-hlint-plugin
        pkgdesc = Hlint integration plugin with Haskell Language Server
        pkgver = 1.1.2.0
-       pkgrel = 35
+       pkgrel = 36
        url = https://hackage.haskell.org/package/hls-hlint-plugin
        arch = x86_64
        license = Apache
+       checkdepends = git
        makedepends = ghc
        makedepends = uusi
        makedepends = haskell-hls-test-utils


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.1.2.0
-pkgrel=35
+pkgrel=36
 pkgdesc="Hlint integration plugin with Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-hlint-plugin";
 license=("Apache")
@@ -14,15 +14,16 @@ depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 
'haskell-apply-refact' 'haske
          'haskell-lens' 'haskell-lsp' 'haskell-refact' 'haskell-regex-tdfa' 
'haskell-temporary'
          'haskell-unordered-containers')
 makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-types')
+checkdepends=('git')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
 
sha512sums=('58c1328380a0f83c4e3027cdf3e55ab3784acc717806d0982312927959acda545e3a7fc66164bcea7d45cee89b3a65997586f9078a05ad9a05f368b94edf9bf7')
 
 prepare() {
   cd $_hkgname-$pkgver
   gen-setup
-  uusi -r ghc-lib-parser:ghc $_hkgname.cabal
-  sed -i 's/"ghc-lib-parser" //' src/Ide/Plugin/Hlint.hs
-  sed -i '/HLINT_ON_GHC_LIB/d' $_hkgname.cabal
+  uusi -r ghc-lib-parser:ghc,ghc-boot $_hkgname.cabal
+  sed -e 's/"ghc-lib-parser" //' -e 's/ghc_lib_parser/ghc/' -i 
src/Ide/Plugin/Hlint.hs
+  # sed -i '/HLINT_ON_GHC_LIB/d' $_hkgname.cabal
 }
 
 build() {
@@ -30,7 +31,7 @@ build() {
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
     --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
     --ghc-option='-pie'
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-hls-hlint-plugin/-/commit/02c01e066d597b9ffbe20f9895bb5cbff7335cad

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-hls-hlint-plugin/-/commit/02c01e066d597b9ffbe20f9895bb5cbff7335cad
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to