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> |
||
|---|---|---|
| .. | ||
| PKGBUILD | ||
| README.md | ||
Arch packaging
PKGBUILD builds and installs both breadd and bread from source.
Local build
makepkg -si
Before publishing to AUR
- Tag a release on GitHub.
- Update
pkgverto match the tag. - Update
sourceto the release tarball URL. - Run
updpkgsums(or manually setsha256sums). - Update
urlif the repository has moved. - Set
dependsaccurately — at minimum:glibc. Addudevandlibgit2if 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 |