extra/java-openjdk to 18-2

This commit is contained in:
Kevin Mihelich 2022-04-10 16:30:20 +00:00
parent 2e934a182c
commit 09da09a204
7 changed files with 31 additions and 29 deletions

View file

@ -22,15 +22,17 @@
pkgbase=java-openjdk pkgbase=java-openjdk
pkgname=('jre-openjdk-headless' 'jre-openjdk' 'jdk-openjdk' 'openjdk-src') pkgname=('jre-openjdk-headless' 'jre-openjdk' 'jdk-openjdk' 'openjdk-src')
_majorver=17 _majorver=18
_minorver=0 _minorver=0
_securityver=3 _securityver=0
_updatever=3 _updatever=0
pkgver=${_majorver}.${_minorver}.${_securityver}.u${_updatever} # pkgver=${_majorver}.${_minorver}.${_securityver}.u${_updatever}
#pkgver=${_majorver}.u${_updatever} #pkgver=${_majorver}.u${_updatever}
pkgrel=1 pkgver=${_majorver}
_git_tag=jdk-${_majorver}.${_minorver}.${_securityver}+${_updatever} pkgrel=2
# _git_tag=jdk-${_majorver}.${_minorver}.${_securityver}+${_updatever}
#_git_tag=jdk-${_majorver}+${_updatever} #_git_tag=jdk-${_majorver}+${_updatever}
_git_tag=jdk-${_majorver}-ga
arch=('x86_64') arch=('x86_64')
url='https://openjdk.java.net/' url='https://openjdk.java.net/'
license=('custom') license=('custom')
@ -43,10 +45,10 @@ source=(https://github.com/openjdk/jdk${_majorver}u/archive/${_git_tag}.tar.gz
freedesktop-java.desktop freedesktop-java.desktop
freedesktop-jconsole.desktop freedesktop-jconsole.desktop
freedesktop-jshell.desktop) freedesktop-jshell.desktop)
sha256sums=('f985bc954c50b9c09d1f8fab698b6591cc46ce3ef6a18570aa192567ff661ca0' sha256sums=('d01149413acd484e9c098919d6e092a514a90cab45831e3832791556900c5b28'
'85c4742764590783160af74587a47269e6797fbdf17ec485c7644bd239adf61d' '58bf779332d21151ba47719926ddcc8811ac7bbf414222141dcf40ac54cfaa2d'
'abac1ab09a33a3654378bc69be5a7cf075263ab3ae9efec1eb25cf388e711bb7' '3a50ded3918024de4e441a46744c8e342faf46441b53c8bac7d589055a28a13c'
'e7cce0ecf868f656d8dc2eb25ab82ab665526a0a28aba20f02632dd29962dac3') '2cace78ec911f73578991370914753c5b6abe9f7304bcbcb7a3077b8dbc7c867')
case "${CARCH}" in case "${CARCH}" in
x86_64) _JARCH='x86_64';; x86_64) _JARCH='x86_64';;

View file

@ -1,12 +1,12 @@
[Desktop Entry] [Desktop Entry]
Name=OpenJDK Java 17 Runtime Name=OpenJDK Java 18 Runtime
Name[fi]=OpenJDK Java 17 - ajonaikainen ympäristö Name[fi]=OpenJDK Java 18 - ajonaikainen ympäristö
Comment=OpenJDK Java 17 Runtime Comment=OpenJDK Java 18 Runtime
Comment[fi]=OpenJDK Java 17 - ajonaikainen ympäristö Comment[fi]=OpenJDK Java 18 - ajonaikainen ympäristö
Keywords=java;runtime Keywords=java;runtime
Exec=/usr/lib/jvm/java-17-openjdk/bin/java -jar Exec=/usr/lib/jvm/java-18-openjdk/bin/java -jar
Terminal=false Terminal=false
Type=Application Type=Application
Icon=java17-openjdk Icon=java18-openjdk
MimeType=application/x-java-archive;application/java-archive;application/x-jar; MimeType=application/x-java-archive;application/java-archive;application/x-jar;
NoDisplay=true NoDisplay=true

View file

@ -1,11 +1,11 @@
[Desktop Entry] [Desktop Entry]
Name=OpenJDK Java 17 Console Name=OpenJDK Java 18 Console
Name[fi]=OpenJDK Java 17 - konsoli Name[fi]=OpenJDK Java 18 - konsoli
Comment=OpenJDK Java 17 Monitoring & Management Console Comment=OpenJDK Java 18 Monitoring & Management Console
Comment[fi]=OpenJDK Java 17 - valvonta- ja hallintakonsoli Comment[fi]=OpenJDK Java 18 - valvonta- ja hallintakonsoli
Keywords=java;console;monitoring Keywords=java;console;monitoring
Exec=/usr/lib/jvm/java-17-openjdk/bin/jconsole Exec=/usr/lib/jvm/java-18-openjdk/bin/jconsole
Terminal=false Terminal=false
Type=Application Type=Application
Icon=java17-openjdk Icon=java18-openjdk
Categories=Application;System; Categories=Application;System;

View file

@ -1,9 +1,9 @@
[Desktop Entry] [Desktop Entry]
Name=OpenJDK Java 17 Shell Name=OpenJDK Java 18 Shell
Comment=OpenJDK Java 17 Shell Comment=OpenJDK Java 18 Shell
Keywords=java;shell Keywords=java;shell
Exec=/usr/lib/jvm/java-17-openjdk/bin/jshell Exec=/usr/lib/jvm/java-18-openjdk/bin/jshell
Terminal=true Terminal=true
Type=Application Type=Application
Icon=java17-openjdk Icon=java18-openjdk
Categories=Application;System; Categories=Application;System;

View file

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

View file

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

View file

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