summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d7f8aa42c56ba3443bea7b71282dfcfe902f967b (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
# Maintainer: Robert Greener <dev@greener.sh>
pkgname=microsoft-openjdk-11-bin
pkgver=11.0.23
pkgrel=1
pkgdesc='Microsoft build of OpenJDK'
arch=('x86_64')
url='https://www.microsoft.com/openjdk'
license=('GPL-2.0-only')
depends=('java-runtime-common' 'java-environment-common')
provides=(
    'java-runtime-headless=11'
    'java-runtime=11'
    'java-environment=11'
)
source=("https://aka.ms/download-jdk/microsoft-jdk-$pkgver-linux-x64.tar.gz"{,.sig})
validpgpkeys=('B602433384B8991302924D8235531D315B21C189')

package() {
    mkdir -p "$pkgdir/usr/lib/jvm"
    cp -a "jdk-$pkgver"* "$pkgdir/usr/lib/jvm/java-11-microsoft-openjdk"
}

sha256sums=(
    'be22268ac403112dc3fa785e5d8ae92e16a657e1d95f0bf21a2705e5420038b7'
    'SKIP'
)