Thank you for your interest in contributing to slpkgs, the package collection for Sunlight Linux!
Status: early bootstrap. slpkgs is a fork of void-packages, rebranded from Void to Sunlight Linux. Upstream's structure (
srcpkgs/,common/,xbps-src) and its packaging manual apply; this repository overlays the Sunlight rebrand and additions. When the void-packages base is imported, upstream's own docs are merged in.
- Use the GitHub issue tracker.
- For a build failure, include the package name, the
./xbps-src pkg <name>output, your architecture, andxbps-src/ masterdir state.
- Fork the repository
- Create a feature branch (
git checkout -b pkg/my-change) - Edit the template under
srcpkgs/<package>/template - Lint it:
./xbps-src lint <package>(orxlint) - Build it in a clean masterdir:
./xbps-src pkg <package> - Commit and open a Pull Request
These follow upstream void-packages — see its Manual.md for the authoritative
template format.
- Use a
build_style(gnu-configure, cmake, meson, go, cargo, python3-module, …) instead of hand-rollingdo_build/do_installwhen one fits. - Dependency kinds are distinct:
depends(runtime),makedepends(build, target),hostmakedepends(build, host). Put each in the right place. - Version vs revision: bump
version(and updatechecksum) for a new upstream release; bumprevisionfor a packaging-only rebuild. - Verify sources: every
distfilesentry needs a correctchecksum. - Keep the upstream delta small. Sunlight's rebrand should be concentrated
(base-files, GRUB, efibootmgr, …) so syncing with void-packages stays easy.
Don't mass-rename
void→sunlight; package names and paths that must match upstream stay as they are.
./xbps-src lint <package>— template lint../xbps-src pkg <package>— build in a chroot/masterdir.- Install-test the result (ideally in a VM) for runtime-affecting changes.
By contributing, you agree that your contributions are licensed under the Apache License 2.0. Imported upstream void-packages templates retain their upstream licensing.