void-packages/srcpkgs/jetbrains-jdk-bin/update
2019-11-12 21:16:22 +01:00

6 lines
391 B
Text

# 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_build=${version#*b}
version=b${_jdk_build}
pattern="jbrsdk-\d+_\d+_\d+-(?:linux-x64-)\Kb\d+\.\d+(?=\.tar\.gz</a>)"