blob: a955b9b7e2c7269cea854034ec38af5a7a7f0391 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Rubin Simons <me@rubin55.org>
_pkgname=kotlin-language-server
pkgname=${_pkgname}-bin
pkgver=1.3.12
pkgrel=1
pkgdesc="Kotlin code completion, diagnostics and more for any editor/IDE using the Language Server Protocol"
provides=("kotlin-language-server")
conflicts=("kotlin-language-server" "kotlin-language-server-git")
arch=('any')
url="https://github.com/fwcd/kotlin-language-server"
license=("MIT")
source=(
"${_pkgname}-${pkgver}.zip::https://github.com/fwcd/kotlin-language-server/releases/download/${pkgver}/server.zip"
)
sha256sums=('c3c04f5605948a213721f9ed0760a565beaa5bb982bab807bdf6504f3e824b0d')
options=("!strip")
package() {
install -o root -g root -m 755 -d "${pkgdir}/usr/lib"
mv "${srcdir}/server" "${pkgdir}/usr/lib/kotlin-language-server"
chmod 644 "${pkgdir}/usr/lib/kotlin-language-server/bin/"*.bat
install -o root -g root -m 755 -d "${pkgdir}/usr/bin"
cd "${pkgdir}/usr/bin"
ln -s ../lib/kotlin-language-server/bin/kotlin-language-server
}
|