Date: Sunday, February 12, 2023 @ 14:54:04
  Author: felixonmars
Revision: 1400050

upgpkg: haskell-hls-hlint-plugin 1.1.0.0-1: rebuild with ghcide 1.8.0.0, 
ghcide-test-utils 1.8.0.0, haskell-language-server 1.8.0.0, hie-bios 0.11.0, 
hie-compat 0.3.0.0, hiedb 0.4.2.0, hls-alternate-number-format-plugin 1.2.0.0, 
hls-call-hierarchy-plugin 1.1.0.0, hls-change-type-signature-plugin 1.0.1.1, 
hls-class-plugin 1.1.0.0, hls-code-range-plugin 1.0.0.0, hls-eval-plugin 
1.3.0.0, hls-explicit-fixity-plugin 1.0.0.0, hls-floskell-plugin 1.0.1.2, 
hls-fourmolu-plugin 1.1.0.0, hls-gadt-plugin 1.0.0.0, hls-graph 1.8.0.0, 
hls-haddock-comments-plugin 1.1.0.0, hls-hlint-plugin 1.1.0.0, 
hls-module-name-plugin 1.1.0.0, hls-plugin-api 1.5.0.0, hls-pragmas-plugin 
1.0.3.0, hls-refactor-plugin 1.0.0.0, hls-refine-imports-plugin 1.0.3.0, 
hls-rename-plugin 1.0.1.0, hls-retrie-plugin 1.0.2.2, hls-splice-plugin 
1.0.2.0, hls-tactics-plugin 1.7.0.0, hls-test-utils 1.4.0.0, lsp 1.6.0.0, 
lsp-test 0.14.1.0, lsp-types 1.6.0.0

Modified:
  haskell-hls-hlint-plugin/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-12 14:46:16 UTC (rev 1400049)
+++ PKGBUILD    2023-02-12 14:54:04 UTC (rev 1400050)
@@ -2,8 +2,8 @@
 
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
-pkgver=1.0.4.0
-pkgrel=6
+pkgver=1.1.0.0
+pkgrel=1
 pkgdesc="Hlint integration plugin with Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-hlint-plugin";
 license=("Apache")
@@ -15,11 +15,14 @@
          'haskell-unordered-containers')
 makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-types')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
-sha512sums=('bbdd51bdc3d8ad1a9a11329f56c91b2b2da7cbfef2c05ac9b0a96acc5e88b96a0d4465457869b5f710c5213e77647f439ec9c2ca95f1e615aaead6df8ce0ff67')
+sha512sums=('42983bf430fc66fef569ed8bb7a0bbb661c84ca47504654e2c502a8d8343bc642e75fcb7924e3d4743147005cdbaf801b14450a8bf469ee7a56dd29af13da0d1')
 
 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
 }
 
 build() {
@@ -29,7 +32,7 @@
     --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
     --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie' -fhlint33
+    --ghc-option='-pie'
 
   runhaskell Setup build $MAKEFLAGS
   runhaskell Setup register --gen-script
@@ -50,6 +53,5 @@
   install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
   install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
   runhaskell Setup copy --destdir="$pkgdir"
-  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
   rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }

Reply via email to