pkgbase = java21-openjdk
	pkgver = 21.0.6.u7
	pkgrel = 1
	url = https://openjdk.java.net/
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	license = LicenseRef-Java
	makedepends = java-environment=21
	makedepends = cpio
	makedepends = unzip
	makedepends = zip
	makedepends = libelf
	makedepends = libcups
	makedepends = libx11
	makedepends = libxrender
	makedepends = libxtst
	makedepends = libxt
	makedepends = libxext
	makedepends = libxrandr
	makedepends = alsa-lib
	makedepends = graphviz
	makedepends = freetype2
	makedepends = libjpeg-turbo
	makedepends = giflib
	makedepends = libpng
	makedepends = lcms2
	makedepends = libnet
	makedepends = bash
	makedepends = harfbuzz
	makedepends = gcc-libs
	makedepends = glibc
	makedepends = wget
	source = https://github.com/openjdk/jdk21u/archive/jdk-21.0.6+7.tar.gz
	source = freedesktop-java.desktop
	source = freedesktop-jconsole.desktop
	source = freedesktop-jshell.desktop
	sha256sums = 260e81ac93d66845c7debcf3b4a1f53b0fcf639124cc3899765f57700539259c
	sha256sums = 72111743ab6ab36854b0c85a504172983715d0798fce10bc4e35689b7d15fd93
	sha256sums = 8ecdf5c1605bafa58b3f7da615e6d8d3d943e3a2d3831930d6efa7815aacce07
	sha256sums = 50fc0d677489b73d549df2f08d759d5f057f200adbbab83ea5e87456152ee03e

pkgname = jre21-openjdk-headless
	pkgdesc = OpenJDK Java 21 headless runtime environment
	install = install_jre-openjdk-headless.sh
	depends = java-runtime-common>=3
	depends = ca-certificates-utils
	depends = nss
	depends = libjpeg-turbo
	depends = libjpeg.so
	depends = lcms2
	depends = liblcms2.so
	depends = libnet
	depends = freetype2
	depends = libfreetype.so
	depends = harfbuzz
	depends = libharfbuzz.so
	depends = glibc
	depends = gcc-libs
	optdepends = java-rhino: for some JavaScript support
	provides = java-runtime-headless=21
	provides = java-runtime-headless-openjdk=21
	provides = jre21-openjdk-headless=21.0.6.u7-1
	conflicts = jdk21-openjdk
	conflicts = jre21-openjdk
	backup = etc/java21-openjdk/logging.properties
	backup = etc/java21-openjdk/management/jmxremote.access
	backup = etc/java21-openjdk/management/jmxremote.password.template
	backup = etc/java21-openjdk/management/management.properties
	backup = etc/java21-openjdk/net.properties
	backup = etc/java21-openjdk/security/java.policy
	backup = etc/java21-openjdk/security/java.security
	backup = etc/java21-openjdk/security/policy/README.txt
	backup = etc/java21-openjdk/security/policy/limited/default_US_export.policy
	backup = etc/java21-openjdk/security/policy/limited/default_local.policy
	backup = etc/java21-openjdk/security/policy/limited/exempt_local.policy
	backup = etc/java21-openjdk/security/policy/unlimited/default_US_export.policy
	backup = etc/java21-openjdk/security/policy/unlimited/default_local.policy
	backup = etc/java21-openjdk/sound.properties

pkgname = jre21-openjdk
	pkgdesc = OpenJDK Java 21 full runtime environment
	install = install_jre-openjdk.sh
	depends = java-runtime-common>=3
	depends = ca-certificates-utils
	depends = nss
	depends = libjpeg-turbo
	depends = libjpeg.so
	depends = lcms2
	depends = liblcms2.so
	depends = libnet
	depends = freetype2
	depends = libfreetype.so
	depends = harfbuzz
	depends = libharfbuzz.so
	depends = glibc
	depends = gcc-libs
	depends = giflib
	depends = libgif.so
	depends = libpng
	optdepends = alsa-lib: for basic sound support
	optdepends = gtk3: for the Gtk+ 3 look and feel - desktop usage
	provides = java-runtime=21
	provides = java-runtime-openjdk=21
	provides = jre21-openjdk=21.0.6.u7-1
	provides = java-runtime-headless=21
	provides = java-runtime-headless-openjdk=21
	provides = jre21-openjdk-headless=21.0.6.u7-1
	conflicts = jdk21-openjdk
	conflicts = jre21-openjdk-headless
	backup = etc/java21-openjdk/logging.properties
	backup = etc/java21-openjdk/management/jmxremote.access
	backup = etc/java21-openjdk/management/jmxremote.password.template
	backup = etc/java21-openjdk/management/management.properties
	backup = etc/java21-openjdk/net.properties
	backup = etc/java21-openjdk/security/java.policy
	backup = etc/java21-openjdk/security/java.security
	backup = etc/java21-openjdk/security/policy/README.txt
	backup = etc/java21-openjdk/security/policy/limited/default_US_export.policy
	backup = etc/java21-openjdk/security/policy/limited/default_local.policy
	backup = etc/java21-openjdk/security/policy/limited/exempt_local.policy
	backup = etc/java21-openjdk/security/policy/unlimited/default_US_export.policy
	backup = etc/java21-openjdk/security/policy/unlimited/default_local.policy
	backup = etc/java21-openjdk/sound.properties

pkgname = jdk21-openjdk
	pkgdesc = OpenJDK Java 21 development kit
	install = install_jdk-openjdk.sh
	depends = java-runtime-common>=3
	depends = ca-certificates-utils
	depends = nss
	depends = libjpeg-turbo
	depends = libjpeg.so
	depends = lcms2
	depends = liblcms2.so
	depends = libnet
	depends = freetype2
	depends = libfreetype.so
	depends = harfbuzz
	depends = libharfbuzz.so
	depends = glibc
	depends = gcc-libs
	depends = java-environment-common=3
	depends = hicolor-icon-theme
	depends = libelf
	depends = libgif.so
	depends = libpng
	depends = ca-certificates-utils
	depends = nss
	depends = libjpeg-turbo
	depends = libjpeg.so
	depends = lcms2
	depends = liblcms2.so
	depends = libnet
	depends = freetype2
	depends = libfreetype.so
	depends = harfbuzz
	depends = libharfbuzz.so
	optdepends = java-rhino: for some JavaScript support
	optdepends = alsa-lib: for basic sound support
	optdepends = gtk3: for the Gtk+ 3 look and feel - desktop usage
	provides = java-environment=21
	provides = java-environment-openjdk=21
	provides = jdk21-openjdk=21.0.6.u7-1
	provides = java-runtime=21
	provides = java-runtime-openjdk=21
	provides = jre21-openjdk=21.0.6.u7-1
	provides = java-runtime-headless=21
	provides = java-runtime-headless-openjdk=21
	provides = jre21-openjdk-headless=21.0.6.u7-1
	conflicts = jre21-openjdk
	conflicts = jre21-openjdk-headless
	backup = etc/java21-openjdk/logging.properties
	backup = etc/java21-openjdk/management/jmxremote.access
	backup = etc/java21-openjdk/management/jmxremote.password.template
	backup = etc/java21-openjdk/management/management.properties
	backup = etc/java21-openjdk/net.properties
	backup = etc/java21-openjdk/security/java.policy
	backup = etc/java21-openjdk/security/java.security
	backup = etc/java21-openjdk/security/policy/README.txt
	backup = etc/java21-openjdk/security/policy/limited/default_US_export.policy
	backup = etc/java21-openjdk/security/policy/limited/default_local.policy
	backup = etc/java21-openjdk/security/policy/limited/exempt_local.policy
	backup = etc/java21-openjdk/security/policy/unlimited/default_US_export.policy
	backup = etc/java21-openjdk/security/policy/unlimited/default_local.policy
	backup = etc/java21-openjdk/sound.properties

pkgname = openjdk21-src
	pkgdesc = OpenJDK Java 21 sources
	depends = jdk21-openjdk=21.0.6.u7-1
	provides = openjdk21-src=21.0.6.u7-1

pkgname = openjdk21-doc
	pkgdesc = OpenJDK Java 21 documentation
	depends = jdk21-openjdk=21.0.6.u7-1
	provides = openjdk21-doc=21.0.6.u7-1
