void-packages/srcpkgs/hg-git/update

3 lines
108 B
Plaintext

site="${homepage}/downloads/?tab=tags"
pattern='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar)'