add: a script to build and install the package from a local branch #65

Merged
mysticalsoap merged 1 commit from add/build-branch-script into trunk 2026-08-19 14:40:18 -04:00
Owner

Problem

Live-verifying a PR (the merge gate for changes whose real test is the running system) means hand-copying the PKGBUILD out of tree and editing source= every time — the procedure only existed as a comment hint in the PKGBUILD.

Fix

packaging/arch/build-branch.sh: copies the PKGBUILD out of tree, points source= at this clone with a #branch= fragment, and runs makepkg -si. Defaults to the branch checked out in the clone; takes a branch name to override. The PKGBUILD comment now points at it, and CONTRIBUTING's Testing section documents the live-verification step.

Verification

Ran build-branch.sh change/set-tun-device-name: built aqomui-git-0.9.0.r302.g4629f56 (the #64 tip) from the local clone and proceeded to pacman -U, which failed only for lack of a sudo terminal in the harness — everything up to the interactive step works.

🤖 Generated with Claude Code

**Problem** Live-verifying a PR (the merge gate for changes whose real test is the running system) means hand-copying the PKGBUILD out of tree and editing `source=` every time — the procedure only existed as a comment hint in the PKGBUILD. **Fix** `packaging/arch/build-branch.sh`: copies the PKGBUILD out of tree, points `source=` at this clone with a `#branch=` fragment, and runs `makepkg -si`. Defaults to the branch checked out in the clone; takes a branch name to override. The PKGBUILD comment now points at it, and CONTRIBUTING's Testing section documents the live-verification step. **Verification** Ran `build-branch.sh change/set-tun-device-name`: built `aqomui-git-0.9.0.r302.g4629f56` (the #64 tip) from the local clone and proceeded to `pacman -U`, which failed only for lack of a sudo terminal in the harness — everything up to the interactive step works. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
add: a script to build and install the package from a local branch
All checks were successful
ci / test (pull_request) Successful in 34s
84500528d0
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
mysticalsoap deleted branch add/build-branch-script 2026-08-19 14:40:18 -04:00
Sign in to join this conversation.
No description provided.