void-packages/srcpkgs/darch/update

3 lines
104 B
Plaintext

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