void-packages/srcpkgs/darch/update

3 lines
114 B
Plaintext

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