This commit is contained in:
Johannes Frohnmeyer 2023-05-05 13:07:30 +02:00
parent d5f0271634
commit ff72498011
Signed by: Johannes
GPG Key ID: E76429612C2929F4
6 changed files with 62 additions and 63 deletions

View File

@ -1,9 +1,9 @@
pkgbase = jdk18-temurin pkgbase = jdk19-temurin
pkgdesc = Temurin (OpenJDK 18 Java binaries by Adoptium, formerly AdoptOpenJDK) pkgdesc = Temurin (OpenJDK 19 Java binaries by Adoptium, formerly AdoptOpenJDK)
pkgver = 18.0.2.1.u1 pkgver = 19.0.2.u7
pkgrel = 1 pkgrel = 2
url = https://adoptium.net/ url = https://adoptium.net/
install = install_jdk18-temurin.sh install = install_jdk19-temurin.sh
arch = x86_64 arch = x86_64
license = custom license = custom
depends = java-runtime-common>=3 depends = java-runtime-common>=3
@ -15,43 +15,43 @@ pkgbase = jdk18-temurin
depends = alsa-lib depends = alsa-lib
optdepends = gtk2: for the Gtk+ 2 look and feel optdepends = gtk2: for the Gtk+ 2 look and feel
optdepends = gtk3: for the Gtk+ 3 look and feel optdepends = gtk3: for the Gtk+ 3 look and feel
provides = java-runtime-headless=18 provides = java-runtime-headless=19
provides = java-runtime-headless-openjdk=18 provides = java-runtime-headless-openjdk=19
provides = jre18-openjdk-headless=18.0.2.1.u1 provides = jre19-openjdk-headless=19.0.2.u7
provides = jre-openjdk-headless=18.0.2.1.u1 provides = jre-openjdk-headless=19.0.2.u7
provides = java-runtime=18 provides = java-runtime=19
provides = java-runtime-openjdk=18 provides = java-runtime-openjdk=19
provides = jre18-openjdk=18.0.2.1.u1 provides = jre19-openjdk=19.0.2.u7
provides = jre-openjdk=18.0.2.1.u1 provides = jre-openjdk=19.0.2.u7
provides = java-environment=18 provides = java-environment=19
provides = java-environment-openjdk=18 provides = java-environment-openjdk=19
provides = jdk18-openjdk=18.0.2.1.u1 provides = jdk19-openjdk=19.0.2.u7
provides = jdk-openjdk=18.0.2.1.u1 provides = jdk-openjdk=19.0.2.u7
provides = openjdk18-src=18.0.2.1.u1 provides = openjdk19-src=19.0.2.u7
provides = openjdk-src=18.0.2.1.u1 provides = openjdk-src=19.0.2.u7
options = !strip options = !strip
backup = etc/java-18-temurin/logging.properties backup = etc/java-19-temurin/logging.properties
backup = etc/java-18-temurin/management/jmxremote.access backup = etc/java-19-temurin/management/jmxremote.access
backup = etc/java-18-temurin/management/jmxremote.password.template backup = etc/java-19-temurin/management/jmxremote.password.template
backup = etc/java-18-temurin/management/management.properties backup = etc/java-19-temurin/management/management.properties
backup = etc/java-18-temurin/net.properties backup = etc/java-19-temurin/net.properties
backup = etc/java-18-temurin/sdp/sdp.conf.template backup = etc/java-19-temurin/sdp/sdp.conf.template
backup = etc/java-18-temurin/security/java.policy backup = etc/java-19-temurin/security/java.policy
backup = etc/java-18-temurin/security/java.security backup = etc/java-19-temurin/security/java.security
backup = etc/java-18-temurin/security/policy/limited/default_local.policy backup = etc/java-19-temurin/security/policy/limited/default_local.policy
backup = etc/java-18-temurin/security/policy/limited/default_US_export.policy backup = etc/java-19-temurin/security/policy/limited/default_US_export.policy
backup = etc/java-18-temurin/security/policy/limited/exempt_local.policy backup = etc/java-19-temurin/security/policy/limited/exempt_local.policy
backup = etc/java-18-temurin/security/policy/README.txt backup = etc/java-19-temurin/security/policy/README.txt
backup = etc/java-18-temurin/security/policy/unlimited/default_local.policy backup = etc/java-19-temurin/security/policy/unlimited/default_local.policy
backup = etc/java-18-temurin/security/policy/unlimited/default_US_export.policy backup = etc/java-19-temurin/security/policy/unlimited/default_US_export.policy
backup = etc/java-18-temurin/sound.properties backup = etc/java-19-temurin/sound.properties
source = https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_x64_linux_hotspot_18.0.2.1_1.tar.gz source = https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jdk_x64_linux_hotspot_19.0.2_7.tar.gz
source = freedesktop-java.desktop source = freedesktop-java.desktop
source = freedesktop-jconsole.desktop source = freedesktop-jconsole.desktop
source = freedesktop-jshell.desktop source = freedesktop-jshell.desktop
sha256sums = 7d6beba8cfc0a8347f278f7414351191a95a707d46b6586e9a786f2669af0f8b sha256sums = 3a3ba7a3f8c3a5999e2c91ea1dca843435a0d1c43737bd2f6822b2f02fc52165
sha256sums = ea75ce65e1393a91fcb83beed3b84759a88bbe9df1ab4efa440062bbd2fe6c1f sha256sums = dfb606cf295bc30471e327032540de9c6d2dcc992e7929a7aa75a620436b44a4
sha256sums = 36b2ff191c81ce5eef9e1eed2acc54dba78b2bcdf47532607f0cc9302503a265 sha256sums = 36d69d869c81463b394905ffbab5ff3d7f6d3fb3174c7c10fe3c760b34712763
sha256sums = b73453a639017037627d926cf2179d1c7e296d9c0804747848d1c799ca38652c sha256sums = a3826e4ee0cf51219c9d128787d9845ca0429b89b8004fca0d0b0cec9ca9a8a2
pkgname = jdk18-temurin pkgname = jdk19-temurin

View File

@ -1,18 +1,17 @@
# Maintainer: Faaris Ansari <faaris.ansari@pm.me> # Maintainer: Johannes Frohnmeyer <johannes at frohnmeyer-wds dot de>
# This PKGBUILD heavily borrows from java-openjdk in [extra] maintained by: # This PKGBUILD is a near-exact copy of jdk18-temurin, which is maintained by:
# Levente Polyak <anthraxx[at]archlinux[dot]org> # Faaris Ansari <faaris.ansari@pm.me>
# Guillaume ALAUX <guillaume@archlinux.org>
_majorver=18 _majorver=19
_completever=18.0.2.1 _completever=19.0.2
_updatever=1 _updatever=7
pkgrel=2 pkgrel=2
pkgver=${_completever}.u${_updatever} pkgver=${_completever}.u${_updatever}
_tag_ver=${_completever}+${_updatever} _tag_ver=${_completever}+${_updatever}
_versuffix=U _versuffix=U
pkgname=jdk18-temurin pkgname=jdk19-temurin
pkgdesc="Temurin (OpenJDK ${_majorver} Java binaries by Adoptium, formerly AdoptOpenJDK)" pkgdesc="Temurin (OpenJDK ${_majorver} Java binaries by Adoptium, formerly AdoptOpenJDK)"
arch=('x86_64') arch=('x86_64')
url='https://adoptium.net/' url='https://adoptium.net/'
@ -50,17 +49,17 @@ backup=(etc/java-${_majorver}-temurin/logging.properties
etc/java-${_majorver}-temurin/security/policy/unlimited/default_local.policy etc/java-${_majorver}-temurin/security/policy/unlimited/default_local.policy
etc/java-${_majorver}-temurin/security/policy/unlimited/default_US_export.policy etc/java-${_majorver}-temurin/security/policy/unlimited/default_US_export.policy
etc/java-${_majorver}-temurin/sound.properties) etc/java-${_majorver}-temurin/sound.properties)
install=install_jdk18-temurin.sh install=install_jdk19-temurin.sh
options=(!strip) options=(!strip)
source=(https://github.com/adoptium/temurin${_majorver}-binaries/releases/download/jdk-${_tag_ver/+/%2B}/OpenJDK${_majorver}${_versuffix}-jdk_x64_linux_hotspot_${_tag_ver/+/_}.tar.gz source=(https://github.com/adoptium/temurin${_majorver}-binaries/releases/download/jdk-${_tag_ver/+/%2B}/OpenJDK${_majorver}${_versuffix}-jdk_x64_linux_hotspot_${_tag_ver/+/_}.tar.gz
freedesktop-java.desktop freedesktop-java.desktop
freedesktop-jconsole.desktop freedesktop-jconsole.desktop
freedesktop-jshell.desktop) freedesktop-jshell.desktop)
sha256sums=('7d6beba8cfc0a8347f278f7414351191a95a707d46b6586e9a786f2669af0f8b' sha256sums=('3a3ba7a3f8c3a5999e2c91ea1dca843435a0d1c43737bd2f6822b2f02fc52165'
'ea75ce65e1393a91fcb83beed3b84759a88bbe9df1ab4efa440062bbd2fe6c1f' 'dfb606cf295bc30471e327032540de9c6d2dcc992e7929a7aa75a620436b44a4'
'36b2ff191c81ce5eef9e1eed2acc54dba78b2bcdf47532607f0cc9302503a265' '36d69d869c81463b394905ffbab5ff3d7f6d3fb3174c7c10fe3c760b34712763'
'b73453a639017037627d926cf2179d1c7e296d9c0804747848d1c799ca38652c') 'a3826e4ee0cf51219c9d128787d9845ca0429b89b8004fca0d0b0cec9ca9a8a2')
_jvmdir=/usr/lib/jvm/java-${_majorver}-temurin _jvmdir=/usr/lib/jvm/java-${_majorver}-temurin
_jdkdir=jdk-${_tag_ver} _jdkdir=jdk-${_tag_ver}

View File

@ -1,8 +1,8 @@
[Desktop Entry] [Desktop Entry]
Name=Temurin Java 18 Runtime Name=Temurin Java 19 Runtime
Comment=Temurin Java 18 Runtime Comment=Temurin Java 19 Runtime
Keywords=java;runtime Keywords=java;runtime
Exec=/usr/lib/jvm/java-18-temurin/bin/java -jar Exec=/usr/lib/jvm/java-19-temurin/bin/java -jar
Terminal=false Terminal=false
Type=Application Type=Application
MimeType=application/x-java-archive;application/java-archive;application/x-jar; MimeType=application/x-java-archive;application/java-archive;application/x-jar;

View File

@ -1,8 +1,8 @@
[Desktop Entry] [Desktop Entry]
Name=Temurin Java 18 Console Name=Temurin Java 19 Console
Comment=Temurin Java 18 Monitoring & Management Console Comment=Temurin Java 19 Monitoring & Management Console
Keywords=java;console;monitoring Keywords=java;console;monitoring
Exec=/usr/lib/jvm/java-18-temurin/bin/jconsole Exec=/usr/lib/jvm/java-19-temurin/bin/jconsole
Terminal=false Terminal=false
Type=Application Type=Application
Categories=Application;System; Categories=Application;System;

View File

@ -1,8 +1,8 @@
[Desktop Entry] [Desktop Entry]
Name=Temurin Java 18 Shell Name=Temurin Java 19 Shell
Comment=Temurin Java 18 Shell Comment=Temurin Java 19 Shell
Keywords=java;shell Keywords=java;shell
Exec=/usr/lib/jvm/java-18-temurin/bin/jshell Exec=/usr/lib/jvm/java-19-temurin/bin/jshell
Terminal=true Terminal=true
Type=Application Type=Application
Categories=Application;System; Categories=Application;System;

View File

@ -1,4 +1,4 @@
THIS_JDK='java-18-temurin' THIS_JDK='java-19-temurin'
fix_default() { fix_default() {
if [ ! -x /usr/bin/java ]; then if [ ! -x /usr/bin/java ]; then