New comment by Animeshz on void-packages repository https://github.com/void-linux/void-packages/issues/41008#issuecomment-1345472042 Comment: One way could be to link `masterdir/pkgname-pkgver/` to a local git repository via a cli-option, which could let it to use the git-tags for the version information and checkouts. **Edit:** Also, instead of linking we can also do a clone over the local git-repository (`git clone localpath` works) passed via cli-option and pass what (tag) we want to checkout with depth=1.