Add packaging/arch PKGBUILD and Forgejo Actions workflows
Some checks failed
Mirror to GitHub / mirror (push) Failing after 34s
Some checks failed
Mirror to GitHub / mirror (push) Failing after 34s
- packaging/arch/PKGBUILD: builds and publishes breadbar to [breadway] repo - .forgejo/workflows/mirror.yml: mirrors every push/tag to GitHub - .forgejo/workflows/package.yml: builds on tag, publishes to Forgejo registry Requires FORGEJO_TOKEN and GITHUB_MIRROR_TOKEN secrets in Forgejo. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e270cde5da
commit
be74c6f0a5
3 changed files with 98 additions and 0 deletions
32
packaging/arch/PKGBUILD
Normal file
32
packaging/arch/PKGBUILD
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Breadway <rileyhorsham@gmail.com>
|
||||
|
||||
pkgname=breadbar
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Minimal status bar and notification daemon for Hyprland"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/Breadway/breadbar"
|
||||
license=('MIT')
|
||||
depends=('gtk4' 'gtk4-layer-shell' 'libpulse' 'iw')
|
||||
optdepends=(
|
||||
'hyprland: workspace and window data integration'
|
||||
)
|
||||
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
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
install -Dm755 target/release/breadbar "${pkgdir}/usr/bin/breadbar"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue