pattern='/archive/[^/]+/\Q'"$pkgname"'\E-(v|VERSION_)?\K[\d\.]+(?=\.tar\.gz")'