summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorberberman2020-10-05 10:17:12 +0800
committerberberman2020-10-05 10:17:12 +0800
commit1d4a4adedf3aa0916d8d777ce94ab7ea5e1356c9 (patch)
tree8faf343c996c1e7f5eb4f0496ed0c774f6c69924
parent2e2f87a678b41c87714344cd13962208b0201a09 (diff)
downloadaur-1d4a4adedf3aa0916d8d777ce94ab7ea5e1356c9.tar.gz
Add version suffix
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD10
2 files changed, 14 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 892330e98ac..b6c456af913 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,21 @@
pkgbase = haskell-language-server-bin
pkgdesc = Integration point for ghcide and haskell-ide-engine. One IDE to rule them all.
pkgver = 0.5.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/haskell/haskell-language-server
arch = x86_64
license = Apache
provides = haskell-language-server
conflicts = haskell-language-server
conflicts = haskell-language-server-git
- source = haskell-language-server-Linux-8.6.4.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.6.4.gz
- source = haskell-language-server-Linux-8.6.5.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.6.5.gz
- source = haskell-language-server-Linux-8.8.2.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.8.2.gz
- source = haskell-language-server-Linux-8.8.3.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.8.3.gz
- source = haskell-language-server-Linux-8.8.4.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.8.4.gz
- source = haskell-language-server-Linux-8.10.1.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.10.1.gz
- source = haskell-language-server-Linux-8.10.2.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.10.2.gz
- source = haskell-language-server-wrapper-Linux.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-wrapper-Linux.gz
+ source = haskell-language-server-Linux-8.6.4-0.5.0.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.6.4.gz
+ source = haskell-language-server-Linux-8.6.5-0.5.0.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.6.5.gz
+ source = haskell-language-server-Linux-8.8.2-0.5.0.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.8.2.gz
+ source = haskell-language-server-Linux-8.8.3-0.5.0.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.8.3.gz
+ source = haskell-language-server-Linux-8.8.4-0.5.0.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.8.4.gz
+ source = haskell-language-server-Linux-8.10.1-0.5.0.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.10.1.gz
+ source = haskell-language-server-Linux-8.10.2-0.5.0.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-Linux-8.10.2.gz
+ source = haskell-language-server-wrapper-Linux-0.5.0.gz::https://github.com/haskell/haskell-language-server/releases/download/0.5.0/haskell-language-server-wrapper-Linux.gz
sha256sums = b0e3e03554f6ef517f13b78477c84fd1952ac9ac94d2608cc1238321f0a544d8
sha256sums = 4b59dbb5f82b6ad4ac7243fe1b68bb608b9559e9862f1950a6890653ef69a92d
sha256sums = e681c361f7d2d3391dd7133f8d47dd1695de1a72771875b2ccdd2d0b56767af0
diff --git a/PKGBUILD b/PKGBUILD
index 933a1b4293f..e9b4db2d7cc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=haskell-language-server-bin
pkgver=0.5.0
-pkgrel=1
+pkgrel=2
pkgdesc="Integration point for ghcide and haskell-ide-engine. One IDE to rule them all."
arch=('x86_64')
url="https://github.com/haskell/${pkgname%-bin}"
@@ -23,17 +23,17 @@ _prefix="${pkgname%-bin}-Linux"
_ghc_versions=('8.6.4' '8.6.5' '8.8.2' '8.8.3' '8.8.4' '8.10.1' '8.10.2')
for ver in ${_ghc_versions[@]}; do
- source+=("${_prefix}-${ver}.gz::${url}/releases/download/${pkgver}/${_prefix}-${ver}.gz")
+ source+=("${_prefix}-${ver}-${pkgver}.gz::${url}/releases/download/${pkgver}/${_prefix}-${ver}.gz")
done
# Wrapper is independent from ghc version
-source+=("${pkgname%-bin}-wrapper-Linux.gz::${url}/releases/download/${pkgver}/${pkgname%-bin}-wrapper-Linux.gz")
+source+=("${pkgname%-bin}-wrapper-Linux-${pkgver}.gz::${url}/releases/download/${pkgver}/${pkgname%-bin}-wrapper-Linux.gz")
package() {
cd "${srcdir}"
for ver in ${_ghc_versions[@]}; do
- install -Dm755 "${_prefix}-${ver}" "${pkgdir}/usr/bin/"${pkgname%-bin}-${ver}""
+ install -Dm755 "${_prefix}-${ver}-${pkgver}" "${pkgdir}/usr/bin/"${pkgname%-bin}-${ver}""
done
- install -Dm755 "${pkgname%-bin}-wrapper-Linux" "${pkgdir}/usr/bin/${pkgname%-bin}-wrapper"
+ install -Dm755 "${pkgname%-bin}-wrapper-Linux-${pkgver}" "${pkgdir}/usr/bin/${pkgname%-bin}-wrapper"
}