Date: Tuesday, October 5, 2021 @ 18:33:14 Author: felixonmars Revision: 1027767
upgpkg: haskell-lsp-test 0.14.0.1-1: rebuild with ghcide 1.4.1.0, hiedb 0.4.1.0, hie-bios 0.7.6, hls-call-hierarchy-plugin 1.0.0.0, hls-class-plugin 1.0.1.0, hls-eval-plugin 1.1.2.0, hls-explicit-imports-plugin 1.0.1.0, hls-floskell-plugin 1.0.0.1, hls-fourmolu-plugin 1.0.0.2, hls-haddock-comments-plugin 1.0.0.3, hls-hlint-plugin 1.0.1.1, hls-module-name-plugin 1.0.0.1, hls-ormolu-plugin 1.0.1.0, hls-pragmas-plugin 1.0.1.0, hls-refine-imports-plugin 1.0.0.1, hls-retrie-plugin 1.0.1.1, hls-splice-plugin 1.0.0.4, hls-stylish-haskell-plugin 1.0.0.2, hls-test-utils 1.1.0.0, hls-plugin-api 1.2.0.0, lsp 1.2.0.1, lsp-test 0.14.0.1, lsp-types 1.3.0.1 Modified: haskell-lsp-test/trunk/PKGBUILD ----------+ PKGBUILD | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-10-05 18:26:47 UTC (rev 1027766) +++ PKGBUILD 2021-10-05 18:33:14 UTC (rev 1027767) @@ -2,8 +2,8 @@ _hkgname=lsp-test pkgname=haskell-lsp-test -pkgver=0.14.0.0 -pkgrel=47 +pkgver=0.14.0.1 +pkgrel=1 pkgdesc="Functional test framework for LSP servers." url="https://github.com/haskell/lsp/blob/master/lsp-test/README.md" license=("BSD") @@ -14,19 +14,16 @@ 'haskell-parser-combinators' 'haskell-some' 'haskell-unliftio' 'haskell-unordered-containers') makedepends=('ghc' 'uusi' 'haskell-hspec') -# https://github.com/bubba/lsp-test/issues/92 -source=("https://github.com/haskell/lsp/archive/refs/tags/lsp-test-$pkgver.tar.gz") -#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz") -sha512sums=('8d45e3ac432a01ba38b5b79c5c1ed3173a4dbc8be55671e617be722f0760aed7179be595aa72d55fec37b1677746431d1f3e1a07df2916be34b7e3abfa823761') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz") +sha512sums=('0159cb688617658653588c4d5e1599440e27fc37705227ae920c8a5d280ef4effefc80e2f40ca64da0cf62a2ab05b4463490c2dbb92b8300f1e777a973b98169') prepare() { - cd lsp-$_hkgname-$pkgver/$_hkgname + cd $_hkgname-$pkgver gen-setup - uusi -u base $_hkgname.cabal } build() { - cd lsp-$_hkgname-$pkgver/$_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 \ @@ -42,12 +39,12 @@ } check() { - cd lsp-$_hkgname-$pkgver/$_hkgname + cd $_hkgname-$pkgver runhaskell Setup test --show-details=direct } package() { - cd lsp-$_hkgname-$pkgver/$_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