mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
36 lines
1.4 KiB
Text
36 lines
1.4 KiB
Text
# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
|
|
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
|
|
pkgname=kotlin-language-server
|
|
pkgver=1.3.13
|
|
pkgrel=0
|
|
pkgdesc="Kotlin code completion, linting and more for any editor/IDE using the Language Server Protocol"
|
|
url="https://github.com/fwcd/kotlin-language-server"
|
|
arch="all !armhf !armv7 !x86" # blocked by openjdk21
|
|
license="MIT"
|
|
checkdepends="maven"
|
|
makedepends="gradle"
|
|
depends="openjdk21"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://github.com/fwcd/kotlin-language-server/archive/refs/tags/$pkgver.tar.gz
|
|
fix-unix-permission-literal.patch
|
|
"
|
|
options="net !archcheck !check" # see https://github.com/fwcd/kotlin-language-server/issues/430
|
|
|
|
build() {
|
|
gradle :server:installDist -PjavaVersion=21
|
|
}
|
|
|
|
check() {
|
|
gradle :server:test -PjavaVersion=21
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/usr/share/kotlin "$pkgdir"/usr/bin
|
|
cp -r server/build/install/server "$pkgdir"/usr/share/kotlin/kotlin-language-server
|
|
ln -sf /usr/share/kotlin/kotlin-language-server/bin/kotlin-language-server "$pkgdir"/usr/bin/kotlin-language-server
|
|
}
|
|
|
|
sha512sums="
|
|
3431fe487c263d4bb4d14fd58aba8d9703cd55ffdfb719536c4f8bbea807a3c83cbbad9fa158f910fb27bbb51581d7276374465d1f5a6f7ce1c0f419fb8b96ea kotlin-language-server-1.3.13.tar.gz
|
|
1d98885d8af74218462a0a27e20c189a800f6104c2c2d980eba0e5431529293e0064ffdfbceba2e954b45da5143a2e42b935c06d6f6cbafb8f860dfcc5c63984 fix-unix-permission-literal.patch
|
|
"
|