diff --git a/srcpkgs/jetbrains-jdk-bin/template b/srcpkgs/jetbrains-jdk-bin/template index f1fb9fc2340..60272b6918c 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.12 +version=11.0.11b1504.16 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=1bef2d18ee6eb84de1cce9aceddfb8f2b8938f1c14a291960625c8c3e2331871 +checksum=f289130e302357d000c84e56d31e24fb0d1fcf74cac84787acc1b08d6f51490f # 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 a055a2380e9..6fbb4a879cf 100644 --- a/srcpkgs/jetbrains-jdk-bin/update +++ b/srcpkgs/jetbrains-jdk-bin/update @@ -1,6 +1,5 @@ -# 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=b${_jdk_build} -pattern="jbrsdk-\d+_\d+_\d+(?:_\d+)?-(?:linux-x64-)\Kb\d+\.\d+(?=\.tar\.gz)" +version=${_jdk_ver}.b${_jdk_build} +pattern="/releases/tag/jb\K11_\d+_\d+-b\d+(\.\d+)?(?=\">)" +site="https://github.com/JetBrains/JetBrainsRuntime"