Aurpublish
PKGBUILD management framework for the Arch User Repository
Install / Use
/learn @eli-schwartz/AurpublishREADME
PKGBUILD management framework for the Arch User Repository
Install
The standard make && sudo make install routine is used. The following additional variables are supported:
DESTDIR-- staged installs for distro packagingPREFIX-- where to install generated script, defaults to /usr/localHOOKSDIR-- where to install githooks, defaults to<PREFIX>/share/aurpublish
How it works
Commit PKGBUILDs in named subdirectories. Export them to the AUR with the aurpublish command, using the subtree push stratagem.
This preserves an independent history for third-party hosting, pull requests... ;)
Commands
aurpublish setup
Initialize a new repository with githooks.
aurpublish PACKAGE
Push PACKAGE to the AUR. With "--speedup", merges the split history back in.
aurpublish -p PACKAGE
Pull package from the AUR (if you adopted an existing package, or have a co-maintainer).
aurpublish log PACKAGE
View the git log of a package subtree.
import-from-aur3.sh PACKAGE
Experimental. Download the history of a non-migrated AUR3 package, and commit it to a new subtree.
Hooks
- pre-commit
Warn about whitespace errors, fail if checksums don't match, and auto-generate .SRCINFO for all changed PKGBUILDs.
- prepare-commit-msg
Prefill the commit message with a list of added/updated/deleted packages + versions (if any).
Copyright
This repository is licensed under the GPLv2 or (at your option) any later version.
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
