[arch-commits] Commit in haskell-hls-eval-plugin/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jun 14 16:09:59 UTC 2021
Date: Monday, June 14, 2021 @ 16:09:59
Author: felixonmars
Revision: 963466
upgpkg: haskell-hls-eval-plugin 1.1.1.0-1
Modified:
haskell-hls-eval-plugin/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-14 16:03:05 UTC (rev 963465)
+++ PKGBUILD 2021-06-14 16:09:59 UTC (rev 963466)
@@ -2,30 +2,30 @@
_hkgname=hls-eval-plugin
pkgname=haskell-hls-eval-plugin
-pkgver=1.1.0.0
-pkgrel=22
+pkgver=1.1.1.0
+pkgrel=1
pkgdesc="Eval plugin for Haskell Language Server"
url="https://github.com/haskell/haskell-language-server"
license=("Apache")
arch=('x86_64')
depends=('ghc-libs' 'haskell-diff' 'haskell-quickcheck' 'haskell-aeson' 'haskell-dlist'
- 'haskell-extra' 'haskell-ghc' 'haskell-ghc-paths' 'haskell-ghcide' 'haskell-hashable'
- 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 'haskell-lsp-types'
- 'haskell-megaparsec' 'haskell-parser-combinators' 'haskell-pretty-simple'
- 'haskell-safe-exceptions' 'haskell-shake' 'haskell-temporary' 'haskell-unliftio'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-api-compat' 'haskell-ghc-paths' 'haskell-ghcide'
+ 'haskell-hashable' 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp'
+ 'haskell-lsp-types' 'haskell-megaparsec' 'haskell-parser-combinators'
+ 'haskell-pretty-simple' 'haskell-safe-exceptions' 'haskell-temporary' 'haskell-unliftio'
'haskell-unordered-containers')
-makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test')
-#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-source=("https://github.com/haskell/haskell-language-server/archive/1.1.0/haskell-language-server-1.1.0.tar.gz")
-sha512sums=('05f724ec6209a4c30e260b8e9f945c5bc58be6b98458ea11ba3b297fa74fecbec37dc292d9aeda2d6dd5a8f24c4125f6d20afbb35eeec6335c9ea7138ed89e52')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('ab17fa3878576c4a95647c5f9b1e171c332b4c55901307795d938118fe21eb4284d97c7684412ca3941bb7a7d98d5c1bddc444716a564f8f043a8bd5be6f4bf8')
prepare() {
- cd haskell-language-server-1.1.0/plugins/$_hkgname
+ cd $_hkgname-$pkgver
gen-setup
}
build() {
- cd haskell-language-server-1.1.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 \
@@ -41,13 +41,13 @@
}
check() {
- cd haskell-language-server-1.1.0/plugins/$_hkgname
+ cd $_hkgname-$pkgver
# https://github.com/haskell/haskell-language-server/issues/1809
runhaskell Setup test --show-details=direct || echo "Tests failed"
}
package() {
- cd haskell-language-server-1.1.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
More information about the arch-commits
mailing list