From 4d591ab9f47d2d11ed91697f9c627996121b846f Mon Sep 17 00:00:00 2001 From: Anton Afanasyev <1157248+2asoft@users.noreply.github.com> Date: Sun, 8 Aug 2021 00:24:20 -0700 Subject: [PATCH] jetbrains-jdk-bin: update to 11.0.12-b1504.40. --- srcpkgs/jetbrains-jdk-bin/template | 4 ++-- srcpkgs/jetbrains-jdk-bin/update | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/jetbrains-jdk-bin/template b/srcpkgs/jetbrains-jdk-bin/template index 60272b6918c6..7114636c6562 100644 --- a/srcpkgs/jetbrains-jdk-bin/template +++ b/srcpkgs/jetbrains-jdk-bin/template @@ -1,6 +1,6 @@ # Template file for 'jetbrains-jdk-bin' pkgname=jetbrains-jdk-bin -version=11.0.11b1504.16 +version=11.0.12b1504.40 revision=1 archs="x86_64" wrksrc="jbr" @@ -11,7 +11,7 @@ homepage="https://github.com/JetBrains/JetBrainsRuntime" _jdk_ver=${version%b*} _jdk_build=${version#*b} distfiles="https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-${_jdk_ver//\./_}-linux-x64-b${_jdk_build}.tar.gz" -checksum=f289130e302357d000c84e56d31e24fb0d1fcf74cac84787acc1b08d6f51490f +checksum=56646f634eafbe85d177e40267f52d83a4bbfcb2bd359b97282bca54812e0784 # This JDK appears to link to libs that do not exist, but functions well even in their absence. # Best guess is that they are optional. ¯\_(ツ)_/¯ noverifyrdeps=yes diff --git a/srcpkgs/jetbrains-jdk-bin/update b/srcpkgs/jetbrains-jdk-bin/update index 6fbb4a879cf7..c1576ba70c36 100644 --- a/srcpkgs/jetbrains-jdk-bin/update +++ b/srcpkgs/jetbrains-jdk-bin/update @@ -1,5 +1,9 @@ +# NOTE: This does not check the jdk_ver part of the version (eg 11.0.4) +# If it changes, this update check will not detect it, it will only detect the build number change. +# It will be up to the maintainer to go hunt down the correct jdk version and update the template. _jdk_ver=${version%b*} _jdk_build=${version#*b} -version=${_jdk_ver}.b${_jdk_build} +version=${_jdk_ver}-b${_jdk_build} +echo "Template is for version $version" pattern="/releases/tag/jb\K11_\d+_\d+-b\d+(\.\d+)?(?=\">)" site="https://github.com/JetBrains/JetBrainsRuntime"