void-packages/srcpkgs/darch/update

3 lines
104 B
Text
Raw Normal View History

site="https://${go_import_path}/tags"
pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'