PKGBUILDs for Arch User Repository
Includes control scripts for managing AUR packages. Requires @falconindy's pkgbuild-introspection tools to auto-generate .SRCINFO
In order to reuse this, checkout the "base" branch and add your own packages on top. Don't keep mine. ;) An additional branch, "submodules-base", contains a previous attempt of mine. I decided I don't want to use submodules, but if you'd rather use that, feel free to take a look. :)
Commit PKGBUILDs in named subdirectories. Export them to the AUR with the included aurpublish
script, using the subtree push stratagem.
This preserves an independent history for third-party hosting, pull requests... ;)
./setup.sh ssh
Append ssh-config rules for accessing the AUR.
./setup.sh hooks
Install githooks.
./aurpublish PACKAGE
Push PACKAGE to the AUR. With "--new", registers the package.
- pre-commit
Reject whitespace errors, and auto-generate .SRCINFO for all changed PKGBUILDs.
- prepare-commit-msg
Prefill the commit message with a list of updated packages + versions (if any).
- post-commit
Clear aurballs and generate a new, up-to-date aurball for all changed PKGBUILDs.