site=https://github.com/JetBrains/kotlin/releases/latest
pattern='/archive/refs/tags/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'