WIP: Add PKGBUILD for local Arch/Manjaro install #14

Draft
claude-bot wants to merge 2 commits from worktree-pkgbuild-packaging into master
Collaborator

Adds packaging/PKGBUILD so doubleo7 can be installed locally as a pacman package (doubleo7-git) via cd packaging && makepkg -si.

  • Sources straight from this repo's own git history (via the same ssh remote), not a crates.io release, so a later makepkg -si picks up new commits, rebuilds, and pacman -U replaces the existing install — that's the "later updated" path.
  • pkgver() derives from Cargo.toml's version plus git rev-list --count/git rev-parse --short, so the package version tracks the exact commit it was built from.
  • Works around a real build failure: Manjaro's default CFLAGS/LDFLAGS hardening flags corrupt aws-lc-sys's vendored C build, producing a symbol-prefix mismatch at link time (undefined symbol: aws_lc_0_44_0_...). build() unsets those env vars before invoking cargo build.
  • Verified end-to-end: clean makepkg -f build succeeds and produces an installable doubleo7-git-*.pkg.tar.zst containing /usr/bin/doubleo7.
  • README gets a new "Installing (Arch/Manjaro)" section documenting the install/update/uninstall flow.

🤖 Generated with Claude Code

Adds `packaging/PKGBUILD` so `doubleo7` can be installed locally as a pacman package (`doubleo7-git`) via `cd packaging && makepkg -si`. - Sources straight from this repo's own git history (via the same ssh remote), not a crates.io release, so a later `makepkg -si` picks up new commits, rebuilds, and `pacman -U` replaces the existing install — that's the "later updated" path. - `pkgver()` derives from `Cargo.toml`'s version plus `git rev-list --count`/`git rev-parse --short`, so the package version tracks the exact commit it was built from. - Works around a real build failure: Manjaro's default `CFLAGS`/`LDFLAGS` hardening flags corrupt `aws-lc-sys`'s vendored C build, producing a symbol-prefix mismatch at link time (`undefined symbol: aws_lc_0_44_0_...`). `build()` unsets those env vars before invoking `cargo build`. - Verified end-to-end: clean `makepkg -f` build succeeds and produces an installable `doubleo7-git-*.pkg.tar.zst` containing `/usr/bin/doubleo7`. - README gets a new "Installing (Arch/Manjaro)" section documenting the install/update/uninstall flow. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude-bot added 1 commit 2026-08-24 10:18:52 +00:00
Add PKGBUILD for local Arch/Manjaro install
All checks were successful
CI / test (pull_request) Successful in 2m42s
b0ebe933d3
Packages doubleo7 as doubleo7-git, sourcing from this repo's own git
history so a later `makepkg -si` picks up new commits and reinstalls
in place. Works around a Manjaro CFLAGS/LDFLAGS hardening flag that
corrupts aws-lc-sys's vendored C build at link time.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013XCcBkpdbUxSEeofhgAueS
schaefera added 1 commit 2026-08-24 11:42:24 +00:00
fix: add cmake to PKGBUILD makedepends
All checks were successful
CI / test (pull_request) Successful in 1m33s
fa4b78a7e0
aws-lc-sys (vendored TLS dependency) shells out to cmake at build
time to compile AWS-LC's C sources. cmake isn't part of Arch's
base-devel group, so a clean build host with only base-devel, cargo,
and git installed would fail partway through cargo build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013XCcBkpdbUxSEeofhgAueS
All checks were successful
CI / test (pull_request) Successful in 1m33s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin worktree-pkgbuild-packaging:worktree-pkgbuild-packaging
git checkout worktree-pkgbuild-packaging
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: schaefera/doubleo7#14
No description provided.