Repository navigation
Arch Linux PKGBUILD - #1213
Merged
Merged
Arch Linux PKGBUILD#1213
Conversation
bplatz
self-requested a review
May 1, 2026 10:41
bplatz
approved these changes
May 1, 2026
bplatz
left a comment
Contributor
There was a problem hiding this comment.
💻
Looks like we need a pre-merge step.
Contributor
Author
I already completed the AUR registration and the Were you talking about another pre-merge step? |
Contributor
No, I meant the registration so perfect! |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an Arch Linux binary package (
fluree-bin) for the AUR so Arch users can install Fluree with a standard pacman AUR helper (e.g.paru -S fluree-bin,yay -S fluree-bin). The package consumes the same prebuilt Linux tarballs thatdistalready publishes to GitHub Releases — no extra build artifacts required upstream. A newpublish-aurjob in the existing release workflow keeps the AUR copy in lockstep with each stable release alongside the existing Docker and Homebrew publish jobs.What's added
contrib/aur/fluree-bin/PKGBUILD— the AUR recipe. Pullsfluree-db-cli-{x86_64,aarch64}-unknown-linux-gnu.tar.xzfrom the matching GitHub release, installs/usr/bin/fluree, the BUSL-1.1 LICENSE, the README, and bash/zsh/fish shell completions (generated via the binary's ownfluree completions <shell>command). Declaresglibcandgcc-libsas runtime deps (verified vialdd— no other shared libs), and usesprovides=fluree/conflicts=flureeso the package can coexist with a future source-build variant. Skips the strip step (options=('!strip' '!debug')) becausedistalready ships a stripped binary.contrib/aur/fluree-bin/.SRCINFO— generated from the PKGBUILD viamakepkg --printsrcinfo. Required by AUR alongside the PKGBUILD.contrib/aur/publish.sh— the release-time updater. Given a tag (e.g.v4.0.2), it fetches both per-arch.sha256siblings from the GitHub release, sed-substitutespkgver,pkgrel, and the twosha256sums_*lines into the in-tree PKGBUILD template, regenerates.SRCINFOby runningmakepkg --printsrcinfoinside a one-shotarchlinux:base-develcontainer (so the runner doesn't need pacman/makepkg installed), then commits and pushes tossh://[email protected]/fluree-bin.git. No-ops cleanly when the AUR repo already matches the requested version..github/workflows/release.yml— newpublish-aurjob modeled on the existingpublish-dockerjob. Runs afterhost(so the GitHub release and its.sha256files exist), gated on!announcement_is_prereleaseso prereleases skip, sets up SSH with pinned AUR host keys (rotation will fail loudly rather than silent-TOFU), then invokesbash contrib/aur/publish.sh "$TAG". Wired intoannounce'sneedsandifclauses with the sameskipped || successallowance the other publish jobs use.One-time setup required before merge takes effect (Done)
AUR_SSH_PRIVATE_KEY(gh secret setor web UI).Notes
contrib/aur/fluree-bin/PKGBUILDwill go stale relative to AUR after each release — the workflow only updates the AUR copy, not the in-tree template. This is harmless since users install via AUR rather than checking out a tag, but is worth knowing. If we want the in-tree file to always reflect the latest published version, a follow-up can add a step topublish-aurthat opens a PR back tomainwith the bumped values..github/workflows/release.ymlis autogenerated bydist, butallow-dirty = ["ci"]is already set indist-workspace.tomlsodist generatewill not clobber the new job. Anyone runningdist initfrom scratch would need to re-add it..sha256files for v4.0.2; fullmakepkgbuild produces a.pkg.tar.zstwith the expected layout (/usr/bin/fluree, completions in their standard system paths, LICENSE under/usr/share/licenses/fluree-bin/); workflow YAML parses cleanly;publish.shpassesbash -nand its sed substitutions produce the expected pinned values when dry-run against the live v4.0.2 release artifacts.