Date: Friday, December 30, 2022 @ 23:34:22
  Author: felixonmars
Revision: 1372579

upgpkg: haskell-hls-qualify-imported-names-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-qualify-imported-names-plugin/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-30 23:32:14 UTC (rev 1372578)
+++ PKGBUILD    2022-12-30 23:34:22 UTC (rev 1372579)
@@ -10,20 +10,25 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-aeson' 'haskell-dlist' 'haskell-ghc' 
'haskell-ghcide'
          'haskell-hls-graph' 'haskell-hls-plugin-api' 'haskell-lsp' 
'haskell-unordered-containers')
-makedepends=('ghc' 'haskell-hls-test-utils')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
 sha256sums=('562d174fc504f63458f7bc0af8c8bb7b50bd94c602dfeffecc7a6e3c30338540')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
 build() {
   cd $_hkgname-$pkgver
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-hls-qualify-imported-names-plugin --enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--datasubdir=haskell-hls-qualify-imported-names-plugin --enable-tests \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
     --ghc-option='-pie' 
 
-  runhaskell Setup build
+  runhaskell Setup build $MAKEFLAGS
   runhaskell Setup register --gen-script
   runhaskell Setup unregister --gen-script
   sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -32,7 +37,7 @@
 
 check() {
   cd $_hkgname-$pkgver
-  runhaskell Setup test
+  runhaskell Setup test --show-details=direct
 }
 
 package() {

Reply via email to