breadpaper/packaging/arch/PKGBUILD
Breadway c20a6d966c
Some checks failed
Mirror to GitHub / mirror (push) Failing after 2s
Build and publish package / package (push) Failing after 27s
release / build (push) Successful in 11s
Switch to tag-pinned bread-ecosystem deps; bump version to v0.1.11
2026-07-19 03:52:49 +08:00

34 lines
838 B
Bash

# Maintainer: Breadway <plasticbread849@gmail.com>
pkgname=breadpaper
pkgver=0.1.0
pkgrel=1
pkgdesc="Wallpaper manager for the bread desktop"
arch=('x86_64')
url="https://git.breadway.dev/Breadway/breadpaper"
license=('MIT')
options=(!lto !debug)
depends=('glibc')
optdepends=(
'python-pywal: colour palette generation from wallpaper (AUR)'
'awww: Wayland wallpaper daemon'
)
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/breadpaper "${pkgdir}/usr/bin/breadpaper"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}