mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 19:24:16 +02:00
Document post-M3 state on main, GitHub vs AUR publishing separation, AUR pkgrel=11 / source tag gap, M1 UI identity status, and CI test workflow. packaging/aur/README.md clarifies local-only AUR sync.
2.8 KiB
2.8 KiB
AUR Packaging
This directory contains PKGBUILD templates for publishing Bearhub on the AUR:
bearhub/PKGBUILD: stable package from tagged GitHub releasesbearhub-git/PKGBUILD: rolling package frommain
Important: GitHub and AUR are separate. Updating files here and pushing to GitHub does not update the AUR. Publishing requires a local AUR git clone and git push to aur.archlinux.org (see below).
Current stable snapshot (2026-06-27)
| Field | Value |
|---|---|
pkgver |
0.10.7 |
pkgrel |
11 |
| Source tag | 0.10.7-bearhub.6 |
| Source archive | bearhub-0.10.7-bearhub.6.tar.gz |
main on GitHub already contains the M3 namespace migration ([Unreleased] in CHANGELOG.md). Stable AUR still builds the 0.10.7-bearhub.6 tarball until the next release tag and PKGBUILD URL update.
Before first publish
- Generate
.SRCINFO:makepkg --printsrcinfo > .SRCINFOin each package directory. - Build-test:
makepkg -si. - Clone AUR repos locally (once):
git clone ssh://aur@aur.archlinux.org/bearhub.git ~/Projekte/development/current/aur/bearhub git clone ssh://aur@aur.archlinux.org/bearhub-git.git ~/Projekte/development/current/aur/bearhub-git - Register SSH public key at https://aur.archlinux.org (key file e.g.
~/.ssh/aur, mode600).
Publishing workflow (maintainer, local)
- Edit
packaging/aur/bearhub/PKGBUILDand.SRCINFOin this repo; commit and push to GitHub. - Copy into local AUR clone and push to AUR:
- Option A: local script
scripts/sync-aur-packaging.sh --push(maintainer machine only — not in GitHub repo). - Option B: manually:
cp packaging/aur/bearhub/PKGBUILD ~/Projekte/development/current/aur/bearhub/ cp packaging/aur/bearhub/.SRCINFO ~/Projekte/development/current/aur/bearhub/ cd ~/Projekte/development/current/aur/bearhub git add PKGBUILD .SRCINFO git commit -m "updpkgsums: …" git push origin master
- Option A: local script
- Users refresh index:
yay -Sy. If SHA256 fails, clear stale cache:rm -rf ~/.cache/yay/bearhub.
Stable release checklist (bearhub)
- Move
CHANGELOG.md[Unreleased]under a new tag (e.g.0.10.7-bearhub.7or0.10.8). - Commit release changes on
mainand push to GitHub. - Create and push the git tag:
git tag -a 0.10.7-bearhub.7 -m "Release 0.10.7-bearhub.7" git push origin main git push origin 0.10.7-bearhub.7 - Update
bearhub/PKGBUILD:_pkgver_tag, source URL,sha256sums; regenerate.SRCINFO:cd packaging/aur/bearhub makepkg --verifysource makepkg --printsrcinfo > .SRCINFO - Commit PKGBUILD changes on GitHub
main. - Publish to AUR (local clone + push — step 2 above).
- Build-test; optional GitHub Release with assets.