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