[arch-commits] Commit in haskell-hls-tactics-plugin/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon May 10 22:46:59 UTC 2021
Date: Monday, May 10, 2021 @ 22:46:58
Author: felixonmars
Revision: 929648
upgpkg: haskell-hls-tactics-plugin 1.1.0.0-1
Modified:
haskell-hls-tactics-plugin/trunk/PKGBUILD
----------+
PKGBUILD | 32 +++++++++++++-------------------
1 file changed, 13 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-10 22:46:42 UTC (rev 929647)
+++ PKGBUILD 2021-05-10 22:46:58 UTC (rev 929648)
@@ -2,8 +2,8 @@
_hkgname=hls-tactics-plugin
pkgname=haskell-hls-tactics-plugin
-pkgver=1.0.0.0
-pkgrel=34
+pkgver=1.1.0.0
+pkgrel=1
pkgdesc="Wingman plugin for Haskell Language Server"
url="https://haskellwingman.dev"
license=("Apache")
@@ -11,25 +11,22 @@
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')
+ 'haskell-shake' 'haskell-syb' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hls-test-utils' 'haskell-hspec'
+ 'haskell-hspec-discover' 'haskell-hspec-expectations' 'haskell-lsp-types'
+ 'haskell-tasty-hunit' 'haskell-tasty-hspec')
# Hackage tarball is missing test data
#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-source=("https://github.com/haskell/haskell-language-server/archive/ghcide-v1.1.0/haskell-language-server-ghcide-v1.1.0.tar.gz")
-sha256sums=('ec611943b46027488d85135eb61245ea7cbd892ed9825b1456a4b74e0eb5a713')
+source=("https://github.com/haskell/haskell-language-server/archive/1.1.0/haskell-language-server-1.1.0.tar.gz")
+sha512sums=('05f724ec6209a4c30e260b8e9f945c5bc58be6b98458ea11ba3b297fa74fecbec37dc292d9aeda2d6dd5a8f24c4125f6d20afbb35eeec6335c9ea7138ed89e52')
prepare() {
- cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+ cd haskell-language-server-1.1.0/plugins/$_hkgname
gen-setup
}
build() {
- cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+ cd haskell-language-server-1.1.0/plugins/$_hkgname
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
@@ -45,12 +42,12 @@
}
check() {
- cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
- PATH="$PWD/dist/build/test-server:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test --show-details=direct
+ cd haskell-language-server-1.1.0/plugins/$_hkgname
+ runhaskell Setup test --show-details=direct
}
package() {
- cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+ cd haskell-language-server-1.1.0/plugins/$_hkgname
install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
@@ -57,7 +54,4 @@
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