Add Arch packaging and Forgejo workflows for bakery
All checks were successful
Mirror to GitHub / mirror (push) Successful in 7s

- packaging/arch/PKGBUILD: builds the bakery CLI from the workspace
- .forgejo/workflows/package.yml: publishes to the [breadway] Arch registry on tag
- .forgejo/workflows/mirror.yml: mirrors to GitHub

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Breadway 2026-06-13 16:40:51 +08:00
parent 85a1a867ce
commit 36d2a09294
3 changed files with 85 additions and 0 deletions

24
packaging/arch/PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# Maintainer: Breadway <rileyhorsham@gmail.com>
pkgname=bakery
pkgver=0.2.3
pkgrel=1
pkgdesc="Package manager for the bread ecosystem"
arch=('x86_64')
url="https://github.com/Breadway/bread-ecosystem"
license=('MIT')
depends=('glibc' 'gcc-libs')
makedepends=('rust' 'cargo')
source=("${pkgname}-${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cargo build --release --locked -p bakery
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 target/release/bakery "${pkgdir}/usr/bin/bakery"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}