diff --git a/.SRCINFO b/.SRCINFO index be59987..f1cba00 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,9 @@ -pkgbase = jdk18-temurin - pkgdesc = Temurin (OpenJDK 18 Java binaries by Adoptium, formerly AdoptOpenJDK) - pkgver = 18.0.2.1.u1 - pkgrel = 1 +pkgbase = jdk19-temurin + pkgdesc = Temurin (OpenJDK 19 Java binaries by Adoptium, formerly AdoptOpenJDK) + pkgver = 19.0.2.u7 + pkgrel = 2 url = https://adoptium.net/ - install = install_jdk18-temurin.sh + install = install_jdk19-temurin.sh arch = x86_64 license = custom depends = java-runtime-common>=3 @@ -15,43 +15,43 @@ pkgbase = jdk18-temurin depends = alsa-lib optdepends = gtk2: for the Gtk+ 2 look and feel optdepends = gtk3: for the Gtk+ 3 look and feel - provides = java-runtime-headless=18 - provides = java-runtime-headless-openjdk=18 - provides = jre18-openjdk-headless=18.0.2.1.u1 - provides = jre-openjdk-headless=18.0.2.1.u1 - provides = java-runtime=18 - provides = java-runtime-openjdk=18 - provides = jre18-openjdk=18.0.2.1.u1 - provides = jre-openjdk=18.0.2.1.u1 - provides = java-environment=18 - provides = java-environment-openjdk=18 - provides = jdk18-openjdk=18.0.2.1.u1 - provides = jdk-openjdk=18.0.2.1.u1 - provides = openjdk18-src=18.0.2.1.u1 - provides = openjdk-src=18.0.2.1.u1 + provides = java-runtime-headless=19 + provides = java-runtime-headless-openjdk=19 + provides = jre19-openjdk-headless=19.0.2.u7 + provides = jre-openjdk-headless=19.0.2.u7 + provides = java-runtime=19 + provides = java-runtime-openjdk=19 + provides = jre19-openjdk=19.0.2.u7 + provides = jre-openjdk=19.0.2.u7 + provides = java-environment=19 + provides = java-environment-openjdk=19 + provides = jdk19-openjdk=19.0.2.u7 + provides = jdk-openjdk=19.0.2.u7 + provides = openjdk19-src=19.0.2.u7 + provides = openjdk-src=19.0.2.u7 options = !strip - backup = etc/java-18-temurin/logging.properties - backup = etc/java-18-temurin/management/jmxremote.access - backup = etc/java-18-temurin/management/jmxremote.password.template - backup = etc/java-18-temurin/management/management.properties - backup = etc/java-18-temurin/net.properties - backup = etc/java-18-temurin/sdp/sdp.conf.template - backup = etc/java-18-temurin/security/java.policy - backup = etc/java-18-temurin/security/java.security - backup = etc/java-18-temurin/security/policy/limited/default_local.policy - backup = etc/java-18-temurin/security/policy/limited/default_US_export.policy - backup = etc/java-18-temurin/security/policy/limited/exempt_local.policy - backup = etc/java-18-temurin/security/policy/README.txt - backup = etc/java-18-temurin/security/policy/unlimited/default_local.policy - backup = etc/java-18-temurin/security/policy/unlimited/default_US_export.policy - backup = etc/java-18-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 + backup = etc/java-19-temurin/logging.properties + backup = etc/java-19-temurin/management/jmxremote.access + backup = etc/java-19-temurin/management/jmxremote.password.template + backup = etc/java-19-temurin/management/management.properties + backup = etc/java-19-temurin/net.properties + backup = etc/java-19-temurin/sdp/sdp.conf.template + backup = etc/java-19-temurin/security/java.policy + backup = etc/java-19-temurin/security/java.security + backup = etc/java-19-temurin/security/policy/limited/default_local.policy + backup = etc/java-19-temurin/security/policy/limited/default_US_export.policy + backup = etc/java-19-temurin/security/policy/limited/exempt_local.policy + backup = etc/java-19-temurin/security/policy/README.txt + backup = etc/java-19-temurin/security/policy/unlimited/default_local.policy + backup = etc/java-19-temurin/security/policy/unlimited/default_US_export.policy + backup = etc/java-19-temurin/sound.properties + 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-jconsole.desktop source = freedesktop-jshell.desktop - sha256sums = 7d6beba8cfc0a8347f278f7414351191a95a707d46b6586e9a786f2669af0f8b - sha256sums = ea75ce65e1393a91fcb83beed3b84759a88bbe9df1ab4efa440062bbd2fe6c1f - sha256sums = 36b2ff191c81ce5eef9e1eed2acc54dba78b2bcdf47532607f0cc9302503a265 - sha256sums = b73453a639017037627d926cf2179d1c7e296d9c0804747848d1c799ca38652c + sha256sums = 3a3ba7a3f8c3a5999e2c91ea1dca843435a0d1c43737bd2f6822b2f02fc52165 + sha256sums = dfb606cf295bc30471e327032540de9c6d2dcc992e7929a7aa75a620436b44a4 + sha256sums = 36d69d869c81463b394905ffbab5ff3d7f6d3fb3174c7c10fe3c760b34712763 + sha256sums = a3826e4ee0cf51219c9d128787d9845ca0429b89b8004fca0d0b0cec9ca9a8a2 -pkgname = jdk18-temurin +pkgname = jdk19-temurin diff --git a/PKGBUILD b/PKGBUILD index 1b01069..6a84a96 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,18 +1,17 @@ -# Maintainer: Faaris Ansari +# Maintainer: Johannes Frohnmeyer -# This PKGBUILD heavily borrows from java-openjdk in [extra] maintained by: -# Levente Polyak -# Guillaume ALAUX +# This PKGBUILD is a near-exact copy of jdk18-temurin, which is maintained by: +# Faaris Ansari -_majorver=18 -_completever=18.0.2.1 -_updatever=1 +_majorver=19 +_completever=19.0.2 +_updatever=7 pkgrel=2 pkgver=${_completever}.u${_updatever} _tag_ver=${_completever}+${_updatever} _versuffix=U -pkgname=jdk18-temurin +pkgname=jdk19-temurin pkgdesc="Temurin (OpenJDK ${_majorver} Java binaries by Adoptium, formerly AdoptOpenJDK)" arch=('x86_64') 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_US_export.policy etc/java-${_majorver}-temurin/sound.properties) -install=install_jdk18-temurin.sh +install=install_jdk19-temurin.sh 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 freedesktop-java.desktop freedesktop-jconsole.desktop freedesktop-jshell.desktop) -sha256sums=('7d6beba8cfc0a8347f278f7414351191a95a707d46b6586e9a786f2669af0f8b' - 'ea75ce65e1393a91fcb83beed3b84759a88bbe9df1ab4efa440062bbd2fe6c1f' - '36b2ff191c81ce5eef9e1eed2acc54dba78b2bcdf47532607f0cc9302503a265' - 'b73453a639017037627d926cf2179d1c7e296d9c0804747848d1c799ca38652c') +sha256sums=('3a3ba7a3f8c3a5999e2c91ea1dca843435a0d1c43737bd2f6822b2f02fc52165' + 'dfb606cf295bc30471e327032540de9c6d2dcc992e7929a7aa75a620436b44a4' + '36d69d869c81463b394905ffbab5ff3d7f6d3fb3174c7c10fe3c760b34712763' + 'a3826e4ee0cf51219c9d128787d9845ca0429b89b8004fca0d0b0cec9ca9a8a2') _jvmdir=/usr/lib/jvm/java-${_majorver}-temurin _jdkdir=jdk-${_tag_ver} diff --git a/freedesktop-java.desktop b/freedesktop-java.desktop index 19174db..cb61084 100644 --- a/freedesktop-java.desktop +++ b/freedesktop-java.desktop @@ -1,8 +1,8 @@ [Desktop Entry] -Name=Temurin Java 18 Runtime -Comment=Temurin Java 18 Runtime +Name=Temurin Java 19 Runtime +Comment=Temurin Java 19 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 Type=Application MimeType=application/x-java-archive;application/java-archive;application/x-jar; diff --git a/freedesktop-jconsole.desktop b/freedesktop-jconsole.desktop index ee1b8cb..58765ad 100644 --- a/freedesktop-jconsole.desktop +++ b/freedesktop-jconsole.desktop @@ -1,8 +1,8 @@ [Desktop Entry] -Name=Temurin Java 18 Console -Comment=Temurin Java 18 Monitoring & Management Console +Name=Temurin Java 19 Console +Comment=Temurin Java 19 Monitoring & Management Console Keywords=java;console;monitoring -Exec=/usr/lib/jvm/java-18-temurin/bin/jconsole +Exec=/usr/lib/jvm/java-19-temurin/bin/jconsole Terminal=false Type=Application Categories=Application;System; diff --git a/freedesktop-jshell.desktop b/freedesktop-jshell.desktop index 2de897c..b56e57c 100644 --- a/freedesktop-jshell.desktop +++ b/freedesktop-jshell.desktop @@ -1,8 +1,8 @@ [Desktop Entry] -Name=Temurin Java 18 Shell -Comment=Temurin Java 18 Shell +Name=Temurin Java 19 Shell +Comment=Temurin Java 19 Shell Keywords=java;shell -Exec=/usr/lib/jvm/java-18-temurin/bin/jshell +Exec=/usr/lib/jvm/java-19-temurin/bin/jshell Terminal=true Type=Application Categories=Application;System; diff --git a/install_jdk18-temurin.sh b/install_jdk19-temurin.sh similarity index 97% rename from install_jdk18-temurin.sh rename to install_jdk19-temurin.sh index e16c1a2..3cfe469 100755 --- a/install_jdk18-temurin.sh +++ b/install_jdk19-temurin.sh @@ -1,4 +1,4 @@ -THIS_JDK='java-18-temurin' +THIS_JDK='java-19-temurin' fix_default() { if [ ! -x /usr/bin/java ]; then