The offical documents that will give you additional information:
https://github.com/void-linux/void-packages/blob/master/Manual.md
https://github.com/void-linux/void-packages?tab=readme-ov-file
https://xbps-src-tutorials.github.io/package-update-tutorial.html
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md
Prepare your environemt:
- Fork the repository in https://github.com/void-linux/void-packages
- Clone your forked repo and in the cloned directory run the bootstrap command:
./xbps-src binary-bootstrap - If you are making a new package create a directory for it in the srcpkg directory