[arch-commits] Commit in haskell-hls-tactics-plugin/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 21 22:30:45 UTC 2021
Date: Sunday, March 21, 2021 @ 22:30:44
Author: felixonmars
Revision: 898555
upgpkg: haskell-hls-tactics-plugin 1.0.0.0-5: remove test-server from installation
Modified:
haskell-hls-tactics-plugin/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-21 22:29:20 UTC (rev 898554)
+++ PKGBUILD 2021-03-21 22:30:44 UTC (rev 898555)
@@ -3,18 +3,19 @@
_hkgname=hls-tactics-plugin
pkgname=haskell-hls-tactics-plugin
pkgver=1.0.0.0
-pkgrel=4
+pkgrel=5
pkgdesc="Wingman plugin for Haskell Language Server"
url="https://haskellwingman.dev"
license=("Apache")
arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-data-default' 'haskell-extra' 'haskell-fingertree'
- 'haskell-generic-lens' 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghc-source-gen'
- 'haskell-ghcide' 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 'haskell-refinery'
- 'haskell-retrie' 'haskell-shake' 'haskell-syb')
-makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-checkers' 'haskell-hie-bios' 'haskell-hspec'
- 'haskell-hspec-discover' 'haskell-hspec-expectations' 'haskell-lsp-test'
- 'haskell-lsp-types' 'haskell-megaparsec' 'haskell-tasty' 'haskell-tasty-ant-xml'
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-fingertree' 'haskell-generic-lens'
+ 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghc-source-gen' 'haskell-ghcide'
+ 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 'haskell-refinery' 'haskell-retrie'
+ 'haskell-shake' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-checkers' 'haskell-data-default'
+ 'haskell-hie-bios' 'haskell-hspec' 'haskell-hspec-discover'
+ 'haskell-hspec-expectations' 'haskell-lsp-test' 'haskell-lsp-types'
+ 'haskell-megaparsec' 'haskell-tasty' 'haskell-tasty-ant-xml'
'haskell-tasty-expected-failure' 'haskell-tasty-golden' 'haskell-tasty-hunit'
'haskell-tasty-rerun')
# Hackage tarball is missing test data
@@ -45,7 +46,7 @@
check() {
cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
- PATH="$PWD/dist/build/ghcide:$PWD/dist/build/test-server:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test
+ PATH="$PWD/dist/build/test-server:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test
}
package() {
@@ -56,4 +57,7 @@
runhaskell Setup copy --destdir="$pkgdir"
install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+ rm "$pkgdir"/usr/bin/test-server
+ rmdir "$pkgdir"/usr/bin
}
More information about the arch-commits
mailing list