summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aab773446295da05902b49ad2519b310df5be431 (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.31.0
pkgrel=2
pkgdesc="Eclipse Java language server"
arch=(any)
url="https://github.com/eclipse/eclipse.jdt.ls"
license=('EPL')
depends=('java-runtime')
makedepends=()
source=("https://download.eclipse.org/jdtls/milestones/0.31.0/jdt-language-server-${pkgver}-201901170528.tar.gz"
        "launcher.sh")
sha256sums=('454e1e9e4aebb3e924791cce589b38f1059df8a5abfd12ea54e04f327edd7424'
            '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"
}