pkgbase = jdk
	pkgdesc = Oracle Java
	pkgver = 16.0.2
	pkgrel = 2
	url = https://www.oracle.com/java/
	arch = x86_64
	license = custom
	makedepends = python-html2text
	noextract = jdk-16.0.2_doc-all.zip
	source = https://download.oracle.com/otn-pub/java/jdk/16.0.2+7/d4a915d82b4c4fbb9bde534da945d746/jdk-16.0.2_linux-x64_bin.tar.gz
	source = https://download.oracle.com/otn-pub/java/jdk/16.0.2+7/d4a915d82b4c4fbb9bde534da945d746/jdk-16.0.2_doc-all.zip
	source = java-16-jdk-license.html::https://download.oracle.com/otndocs/jcp/java_se-16-final-spec/license.html
	source = java.desktop
	source = jconsole.desktop
	source = jshell.desktop
	source = java_16.png
	source = java_48.png
	source = LICENSE
	sha256sums = 630e3e56c58f45db3788343ce842756d5a5a401a63884242cc6a141071285a62
	sha256sums = 7cd96f9aa11d9e1a1adbee3e941a78e899bc9079370e4c12c106761d3df80f82
	sha256sums = 2f14da815e019b3f5558e5176c969227a2530bac1cfdfd42dbd6ccc2ee618346
	sha256sums = 9fc4cd168fd3e0d654093c1b2dd070f627ffae9b7f5c2c0741bac0b5c1ed0635
	sha256sums = 12b6e632e38e2c2ef54d6b03976290ca649380a89f78b5dae8827423eae52a1b
	sha256sums = b2fd5a8f273a103569bf03af6f4ff4d3a5448472abc79b8649cecd0ee9313fc7
	sha256sums = d27fec1d74f7a3081c3d175ed184d15383666dc7f02cc0f7126f11549879c6ed
	sha256sums = 7cf8ca096e6d6e425b3434446b0835537d0fc7fe64b3ccba7a55f7bd86c7e176
	sha256sums = ef331c118f613261f06771161e9aebf8d26ab6cc131edd51358b01cc20fc759d

pkgname = jre
	pkgdesc = Oracle Java Runtime Environment
	install = jre.install
	depends = java-runtime-common
	depends = ca-certificates-utils
	depends = freetype2
	depends = libxtst
	depends = libxrender
	depends = libnet
	optdepends = alsa-lib: for basic sound support
	provides = java-runtime=16
	provides = java-runtime-headless=16
	provides = java-runtime-jre=16
	provides = java-runtime-headless-jre=16
	backup = etc/java-jdk/management/jmxremote.access
	backup = etc/java-jdk/management/jmxremote.password.template
	backup = etc/java-jdk/management/management.properties
	backup = etc/java-jdk/security/policy/limited/default_US_export.policy
	backup = etc/java-jdk/security/policy/limited/default_local.policy
	backup = etc/java-jdk/security/policy/limited/exempt_local.policy
	backup = etc/java-jdk/security/policy/unlimited/default_US_export.policy
	backup = etc/java-jdk/security/policy/unlimited/default_local.policy
	backup = etc/java-jdk/security/policy/README.txt
	backup = etc/java-jdk/security/java.policy
	backup = etc/java-jdk/security/java.security
	backup = etc/java-jdk/logging.properties
	backup = etc/java-jdk/net.properties
	backup = etc/java-jdk/sound.properties

pkgname = jdk
	pkgdesc = Oracle Java Development Kit
	install = jdk.install
	depends = java-environment-common
	depends = jre>=16
	depends = jre<17
	depends = zlib
	depends = hicolor-icon-theme
	provides = java-environment=16
	provides = java-environment-jdk=16

pkgname = jdk-doc
	pkgdesc = Oracle Java documentation
	arch = any
