aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-09 23:37:07 -0500
committerCraig Jennings <c@cjennings.net>2026-06-09 23:37:07 -0500
commit5e43d8c4ad8685e88331ac78641ca84666cb9e7a (patch)
tree36f6bba78736a5b28dd115c79f39758a31bc01af /scripts
parent495ecca19425efdc641aa27641292b71282c891f (diff)
downloadarchangel-5e43d8c4ad8685e88331ac78641ca84666cb9e7a.tar.gz
archangel-5e43d8c4ad8685e88331ac78641ca84666cb9e7a.zip
feat(build): add AUR local-repo build helpers
Add build-aur.sh, sourced by build.sh, that builds the v1 genuine-AUR set into a local pacman repo and emits an auditable manifest. The pure helpers carry the testable surface: the package sets (one source of truth for the build array and the package-list append), the [aur] stanza renderer, the TSV manifest header/row, the package-file locator, the staged repo replacement, and the build-environment preflight. makepkg refuses to run as root, so the orchestrator drops to $SUDO_USER for the clone and build. It stages on the same filesystem and swaps in with mv -T on full success, so a failure ships no repo and leaves no stale one. On any failure error() names the package, the phase, and the log path. The orchestrator and manifest-append need root, network, and makepkg, so they stay out of bats and are covered by the build integration test and the manual checklist instead. Eighteen unit tests cover the pure helpers across Normal, Boundary, and Error.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions