Date: Saturday, December 31, 2022 @ 00:14:18
  Author: felixonmars
Revision: 1372589

upgpkg: haskell-hls-refine-imports-plugin 1.0.1.0-1: rebuild with ghcide 
1.6.0.0, haskell-language-server 1.6.0.0, hls-alternate-number-format-plugin 
1.0.1.0, hls-brittany-plugin 1.0.2.0, hls-call-hierarchy-plugin 1.0.2.0, 
hls-class-plugin 1.0.2.0, hls-eval-plugin 1.2.1.0, hls-explicit-imports-plugin 
1.0.2.0, hls-floskell-plugin 1.0.1.0, hls-fourmolu-plugin 1.0.2.0, hls-graph 
1.6.0.0, hls-haddock-comments-plugin 1.0.1.0, hls-hlint-plugin 1.0.3.0, 
hls-module-name-plugin 1.0.1.0, hls-ormolu-plugin 1.0.2.0, hls-pragmas-plugin 
1.0.2.0, hls-plugin-api 1.3.0.0, hls-qualify-imported-names-plugin 1.0.1.0, 
hls-refine-imports-plugin 1.0.1.0, hls-retrie-plugin 1.0.2.0, 
hls-selection-range-plugin 1.0.0.0, hls-splice-plugin 1.0.1.0, 
hls-stylish-haskell-plugin 1.0.1.0, hls-tactics-plugin 1.6.0.0, hls-test-utils 
1.2.0.0, lsp 1.4.0.0, lsp-test 0.14.0.2, lsp-types 1.4.0.1

Modified:
  haskell-hls-refine-imports-plugin/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-31 00:13:21 UTC (rev 1372588)
+++ PKGBUILD    2022-12-31 00:14:18 UTC (rev 1372589)
@@ -2,8 +2,8 @@
 
 _hkgname=hls-refine-imports-plugin
 pkgname=haskell-hls-refine-imports-plugin
-pkgver=1.0.0.0
-pkgrel=3
+pkgver=1.0.1.0
+pkgrel=1
 pkgdesc="Refine imports plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-refine-imports-plugin";
 license=("Apache")
@@ -13,22 +13,20 @@
          'haskell-lsp' 'haskell-unordered-containers')
 makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
 checkdepends=('git')
-# https://github.com/haskell/haskell-language-server/pull/1922
-#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
-source=("https://github.com/haskell/haskell-language-server/archive/1.2.0/haskell-language-server-1.2.0.tar.gz";)
-sha256sums=('8931fd95bf28300d3f18675b0f03aac9bda172becb67eaa8ef1f62e6d1c6238e')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('8e8e242cb142cff2e8bf592586912053150085c55fed5888804a156faff40583')
 
 prepare() {
-  cd haskell-language-server-1.2.0/plugins/$_hkgname
+  cd $_hkgname-$pkgver
   gen-setup
 }
 
 build() {
-  cd haskell-language-server-1.2.0/plugins/$_hkgname
+  cd $_hkgname-$pkgver
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+    --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'
 
@@ -40,12 +38,12 @@
 }
 
 check() {
-  cd haskell-language-server-1.2.0/plugins/$_hkgname
+  cd $_hkgname-$pkgver
   runhaskell Setup test --show-details=direct
 }
 
 package() {
-  cd haskell-language-server-1.2.0/plugins/$_hkgname
+  cd $_hkgname-$pkgver
 
   install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
   install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh

Reply via email to