Drop pacman packaging, bakery-only distribution
All checks were successful
dev release / build (push) Successful in 1m17s

bakery already fully covers what the PKGBUILD provided (binary, systemd
--user service where applicable, dependency declarations) except a LICENSE
copy, which bakery.toml's new license_file field now closes. Removes
packaging/arch/ and .forgejo/workflows/package.yml; adds the LICENSE
artifact to each release/dev-release/beta-release workflow's prepare
step. Not pacman-installed inside BOS today (BOS already consumes these
apps exclusively via build-local.sh's skel-staging), so this only removes
the option to `pacman -S` outside of BOS/bakery.
This commit is contained in:
Breadway 2026-07-23 10:25:12 +08:00
parent 8d3f55b607
commit f9a8c4f915
8 changed files with 8 additions and 119 deletions

View file

@ -5,22 +5,14 @@ This directory contains distribution packaging for Bread.
```
packaging/
├── arch/
│ └── PKGBUILD ← Arch Linux package build script
└── systemd/
└── breadd.service ← systemd user service unit
```
## Arch Linux
```bash
cd packaging/arch
makepkg -si
```
The PKGBUILD builds both `breadd` and `bread` from source and installs them to `/usr/bin`. It also installs the systemd user service unit to `/usr/lib/systemd/user/`.
Before publishing to the AUR, update `pkgver`, `source`, and `sha256sums` to point at a tagged release tarball.
Prebuilt binaries are distributed exclusively via `bakery` (see the main
README) — there is no Arch/pacman package for `bread` anymore. `bakery`
installs the systemd user service unit itself, matching the `packaging/systemd/breadd.service`
file here.
## systemd user service

View file

@ -1,39 +0,0 @@
# Maintainer: Breadway <plasticbread849@gmail.com>
pkgname=bread
pkgver=0.6.6
pkgrel=1
pkgdesc="A reactive automation fabric for Linux desktops"
arch=('x86_64')
url="https://git.breadway.dev/Breadway/bread"
license=('MIT')
# mlua builds Lua from vendored C source. makepkg's default -flto=auto would
# emit GCC LTO bitcode into liblua5.4.a, which the Rust (lld) link can't read,
# leaving all lua_* symbols undefined. Disable LTO for a clean static link.
options=(!lto !debug)
depends=('glibc')
optdepends=(
'libnotify: desktop notifications via bread.notify()'
'upower: D-Bus battery events (sysfs polling used otherwise)'
)
makedepends=('rust' 'cargo')
source=("${pkgname}-${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cargo build --release --locked
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
cargo test --release --locked --workspace
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 target/release/breadd "${pkgdir}/usr/bin/breadd"
install -Dm755 target/release/bread "${pkgdir}/usr/bin/bread"
install -Dm644 packaging/systemd/breadd.service "${pkgdir}/usr/lib/systemd/user/breadd.service"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View file

@ -1,28 +0,0 @@
Arch packaging
==============
`PKGBUILD` builds and installs both `breadd` and `bread` from source.
## Local build
```bash
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` 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`) |