- Templates: https://github.com/void-linux/void-packages
- Contributing rules : https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md
- Documentation : https://github.com/void-linux/void-packages/blob/master/Manual.md
Install dev tools:
sudo xbps-install -S xtoolsFetch the package repo:
git clone https://github.com/void-linux/void-packages
cd void-packagesInit. the dev. package env.:
./xbps-src binary-bootstrapCreate a new package template, this will create srcpkgs/<pkgname>/template:
xnew <pkgname>Control the checksum:
xgensum -f srcpkgs/<pkgname>/templateLint the template:
xlint srcpkgs/<pkgname>/templateBuild the package:
./xbps-src pkg <pkgname>Test building for ARM:
$ ./xbps-src -a armv7l pkg <pkgname>
Install the package:
sudo xbps-install --repository=hostdir/binpkgs/ <pkgname>
# or
sudo xi <pkgname>