bread/packaging/arch
Breadway 01a95ecbbf
Some checks failed
Mirror to GitHub / mirror (push) Successful in 11s
Build and publish package / package (push) Failing after 3m25s
Disable LTO in PKGBUILD to fix vendored Lua static link
makepkg's default -flto=auto made mlua's vendored liblua5.4.a contain GCC
LTO bitcode that the Rust (lld) link couldn't read, leaving all lua_*
symbols undefined. options=(!lto) produces a clean static link.
Verified building in a clean archlinux container.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 16:52:54 +08:00
..
PKGBUILD Disable LTO in PKGBUILD to fix vendored Lua static link 2026-06-13 16:52:54 +08:00
README.md feat: add bread-sync module for snapshot and restore functionality 2026-05-12 00:20:45 +08:00

Arch packaging

PKGBUILD builds and installs both breadd and bread from source.

Local build

makepkg -si

Before publishing to AUR

  1. Tag a release on GitHub.
  2. Update pkgver to match the tag.
  3. Update source to the release tarball URL.
  4. Run updpkgsums (or manually set sha256sums).
  5. Update url if the repository has moved.
  6. Set depends accurately — at minimum: glibc. Add udev and libgit2 if not linking statically.

Runtime dependencies

Package Required Notes
glibc yes always
udev yes device events
dbus optional UPower battery events
libnotify optional bread.notify() (uses notify-send)
git optional bread sync push/pull