void-packages/srcpkgs/jetbrains-jdk-bin/update
2020-12-17 15:50:12 -03:00

7 lines
400 B
Plaintext

# 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+(?:_\d+)?-(?:linux-x64-)\Kb\d+\.\d+(?=\.tar\.gz</a>)"