summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c0c425c44ef6da09d3246f4bf2a18deed71dfea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Johannes Wienke <languitar@semipol.de>

pkgname=jdtls
pkgver=0.41.0
pkgrel=1
pkgdesc="Eclipse Java language server"
arch=(any)
url="https://github.com/eclipse/eclipse.jdt.ls"
license=('EPL')
depends=('java-runtime')
makedepends=()
source=("http://download.eclipse.org/jdtls/milestones/0.41.0/jdt-language-server-0.41.0-201907261503.tar.gz"
        "launcher.sh")
sha256sums=('d721c0076cb865c0c1b29843b5e1839ed0ead0114bfd37e73d703efe7eb7b9d3'
            '813801c237676764f6fb005df3ccaaee33c7cc0ab54fc1c73ef3cf4cee5a65de')

package() {
    mkdir -p "${pkgdir}/usr/share/java/jdtls"
    cp -R "${srcdir}/"config_* "${srcdir}/features" "${srcdir}/plugins" "${pkgdir}/usr/share/java/jdtls"
    mkdir -p "${pkgdir}/usr/bin"
    install "${srcdir}/launcher.sh" "${pkgdir}/usr/bin/jdtls"
}