[arch-commits] Commit in haskell-hls-tactics-plugin/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jun 14 16:02:52 UTC 2021
Date: Monday, June 14, 2021 @ 16:02:52
Author: felixonmars
Revision: 963464
upgpkg: haskell-hls-tactics-plugin 1.2.0.0-1
Modified:
haskell-hls-tactics-plugin/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-14 16:01:16 UTC (rev 963463)
+++ PKGBUILD 2021-06-14 16:02:52 UTC (rev 963464)
@@ -2,8 +2,8 @@
_hkgname=hls-tactics-plugin
pkgname=haskell-hls-tactics-plugin
-pkgver=1.1.0.0
-pkgrel=23
+pkgver=1.2.0.0
+pkgrel=1
pkgdesc="Wingman plugin for Haskell Language Server"
url="https://haskellwingman.dev"
license=("Apache")
@@ -10,23 +10,22 @@
arch=('x86_64')
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' 'haskell-unordered-containers')
+ 'haskell-hls-graph' 'haskell-hls-plugin-api' 'haskell-hyphenation' 'haskell-lens'
+ 'haskell-lsp' 'haskell-megaparsec' 'haskell-parser-combinators' 'haskell-prettyprinter'
+ 'haskell-refinery' 'haskell-retrie' '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/1.1.0/haskell-language-server-1.1.0.tar.gz")
-sha512sums=('05f724ec6209a4c30e260b8e9f945c5bc58be6b98458ea11ba3b297fa74fecbec37dc292d9aeda2d6dd5a8f24c4125f6d20afbb35eeec6335c9ea7138ed89e52')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('c007db78386e04f735bd09801c226e7d79bdcc9c4d863aa5940e15136a94152f88e10c9a77a32c92725174342bda3b0708a9e550146c893f35693a7a6b389fe1')
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 \
@@ -42,12 +41,12 @@
}
check() {
- cd haskell-language-server-1.1.0/plugins/$_hkgname
+ cd $_hkgname-$pkgver
runhaskell Setup test --show-details=direct
}
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