blob: b124cbb01063ff30220caafff750d7befa814eb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Johannes Wienke <languitar@semipol.de>
pkgname=jdtls
pkgver=1.18.0
pkgrel=2
pkgdesc="Eclipse Java language server"
arch=(any)
url="https://github.com/eclipse/eclipse.jdt.ls"
license=('EPL')
depends=('java-runtime>=17')
optdepends=('python: for the official launcher script')
makedepends=()
source=("https://download.eclipse.org/jdtls/milestones/1.18.0/jdt-language-server-1.18.0-202212011657.tar.gz")
sha256sums=('b9875c12442d5cb80e0f7f66a55d19fc1f7db3b3c2bbc3c793612246858eba04')
package() {
mkdir -p "${pkgdir}/usr/share/java/jdtls"
cp -R "${srcdir}/"config_* "${srcdir}/features" "${srcdir}/plugins" "${srcdir}/bin" "${pkgdir}/usr/share/java/jdtls"
mkdir -p "${pkgdir}/usr/bin"
ln -s --relative "${pkgdir}/usr/share/java/jdtls/bin/jdtls" "${pkgdir}/usr/bin/jdtls"
}
|