summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormrzeznicki2022-05-05 20:00:11 +0200
committermrzeznicki2022-05-05 20:00:11 +0200
commit5d34563defb759babf4edf247a2e2832baaf4eb0 (patch)
tree7e1758ff2b087530aed73645ba7c0343c9d41cc4
parent47fa136d9bf41742fdfc267feec0f714c67cb6fb (diff)
downloadaur-5d34563defb759babf4edf247a2e2832baaf4eb0.tar.gz
1.7.0.0
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD35
2 files changed, 17 insertions, 44 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 40e2cdf9c29..4f8f5290da1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,28 +1,18 @@
pkgbase = haskell-language-server-static
- pkgdesc = Successor of ghcide & haskell-ide-engine. One IDE to rule them all.
- pkgver = 1.6.1.0
+ pkgdesc = Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
+ pkgver = 1.7.0.0
pkgrel = 1
url = https://github.com/haskell/haskell-language-server
arch = x86_64
license = Apache
+ depends = sh
+ depends = zlib
+ depends = gmp
provides = haskell-language-server
conflicts = haskell-language-server
conflicts = haskell-language-server-git
- source = haskell-language-server-Linux-8.6.5-1.6.1.0.gz::https://github.com/haskell/haskell-language-server/releases/download/1.6.1.0/haskell-language-server-Linux-8.6.5.gz
- source = haskell-language-server-Linux-8.8.4-1.6.1.0.gz::https://github.com/haskell/haskell-language-server/releases/download/1.6.1.0/haskell-language-server-Linux-8.8.4.gz
- source = haskell-language-server-Linux-8.10.6-1.6.1.0.gz::https://github.com/haskell/haskell-language-server/releases/download/1.6.1.0/haskell-language-server-Linux-8.10.6.gz
- source = haskell-language-server-Linux-8.10.7-1.6.1.0.gz::https://github.com/haskell/haskell-language-server/releases/download/1.6.1.0/haskell-language-server-Linux-8.10.7.gz
- source = haskell-language-server-Linux-9.0.1-1.6.1.0.gz::https://github.com/haskell/haskell-language-server/releases/download/1.6.1.0/haskell-language-server-Linux-9.0.1.gz
- source = haskell-language-server-Linux-9.0.2-1.6.1.0.gz::https://github.com/haskell/haskell-language-server/releases/download/1.6.1.0/haskell-language-server-Linux-9.0.2.gz
- source = haskell-language-server-Linux-9.2.1-1.6.1.0.gz::https://github.com/haskell/haskell-language-server/releases/download/1.6.1.0/haskell-language-server-Linux-9.2.1.gz
- source = haskell-language-server-wrapper-Linux-1.6.1.0.gz::https://github.com/haskell/haskell-language-server/releases/download/1.6.1.0/haskell-language-server-wrapper-Linux.gz
- sha256sums = ab64962983aa5240cbf8c152d1b86ee72a3be0fcd467c85c0c91b52992788b52
- sha256sums = 32507ced518aa0fe861ad7e9521ef6df7b26e1ae574fbf6499246f45bb092ccf
- sha256sums = 3b90983710cb3723a62dad037b8672808ef9283d77948131b2f3ad956a7022b5
- sha256sums = cdd1562df23e42605d929cf969dcaf1b8890be1094e83004a757d7d226313235
- sha256sums = 840a5d9a1a34109224005bd9a3369be032cd4c2180ae92015de160f986eb4569
- sha256sums = d70a4b4bcca607855e259e20481c1016f69225fb97f217018e20a070fa937d45
- sha256sums = 46ddbff4a0fe6b529deee174eed4fe32d8d7457e81de527681d7bc5dc9b26a17
- sha256sums = e002fa80ff3c6d5645b4c3c316d894acbb2ccee21ade5dcb807fd7f7e258e292
+ options = !strip
+ source = https://downloads.haskell.org/~hls/haskell-language-server-1.7.0.0/haskell-language-server-1.7.0.0-x86_64-linux-fedora27.tar.xz
+ sha256sums = cad0a9800004e7dc78eae824118f92efc33b9ed30f20f1e9584b57695ff93e50
pkgname = haskell-language-server-static
diff --git a/PKGBUILD b/PKGBUILD
index ce2f101d779..07ae629bf6b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,39 +1,22 @@
# Maintainer: Mateusz Galazyn <carbolymer at gmail.com>
+# Maintainer: Marcin Rze┼║nicki <marcin.rzeznicki@gmail.com>
pkgname=haskell-language-server-static
-pkgver=1.6.1.0
+pkgver=1.7.0.0
pkgrel=1
-pkgdesc="Successor of ghcide & haskell-ide-engine. One IDE to rule them all."
+pkgdesc="Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine."
arch=('x86_64')
url="https://github.com/haskell/${pkgname%-static}"
license=('Apache')
-depends=()
+depends=('sh' 'zlib' 'gmp')
provides=('haskell-language-server')
conflicts=('haskell-language-server' 'haskell-language-server-git')
-source=()
-sha256sums=('ab64962983aa5240cbf8c152d1b86ee72a3be0fcd467c85c0c91b52992788b52'
- '32507ced518aa0fe861ad7e9521ef6df7b26e1ae574fbf6499246f45bb092ccf'
- '3b90983710cb3723a62dad037b8672808ef9283d77948131b2f3ad956a7022b5'
- 'cdd1562df23e42605d929cf969dcaf1b8890be1094e83004a757d7d226313235'
- '840a5d9a1a34109224005bd9a3369be032cd4c2180ae92015de160f986eb4569'
- 'd70a4b4bcca607855e259e20481c1016f69225fb97f217018e20a070fa937d45'
- '46ddbff4a0fe6b529deee174eed4fe32d8d7457e81de527681d7bc5dc9b26a17'
- 'e002fa80ff3c6d5645b4c3c316d894acbb2ccee21ade5dcb807fd7f7e258e292')
-_prefix="${pkgname%-static}-Linux"
-_ghc_versions=('8.6.5' '8.8.4' '8.10.6' '8.10.7' '9.0.1' '9.0.2' '9.2.1')
-
-for ver in ${_ghc_versions[@]}; do
- source+=("${_prefix}-${ver}-${pkgver}.gz::${url}/releases/download/${pkgver}/${_prefix}-${ver}.gz")
-done
-
-# Wrapper is independent from ghc version
-source+=("${pkgname%-static}-wrapper-Linux-${pkgver}.gz::${url}/releases/download/${pkgver}/${pkgname%-static}-wrapper-Linux.gz")
+source=("https://downloads.haskell.org/~hls/haskell-language-server-${pkgver}/haskell-language-server-${pkgver}-${arch}-linux-fedora27.tar.xz")
+sha256sums=('cad0a9800004e7dc78eae824118f92efc33b9ed30f20f1e9584b57695ff93e50')
+options=(!strip)
package() {
- cd "${srcdir}"
- for ver in ${_ghc_versions[@]}; do
- install -Dm755 "${_prefix}-${ver}-${pkgver}" "${pkgdir}/usr/bin/"${pkgname%-static}-${ver}""
- done
- install -Dm755 "${pkgname%-static}-wrapper-Linux-${pkgver}" "${pkgdir}/usr/bin/${pkgname%-static}-wrapper"
+ cd "${srcdir}/haskell-language-server-${pkgver}"
+ make DESTDIR="$pkgdir/" PREFIX="/usr" install
}