breadpaper/packaging/arch/PKGBUILD
Breadway 580a51c350
Some checks failed
Mirror to GitHub / mirror (push) Failing after 3s
Build and publish package / package (push) Failing after 2m52s
fix(pkg): move python-pywal to optdepends in PKGBUILD
python-pywal is AUR-only; makepkg cannot resolve it as a hard depends.
2026-06-17 14:16:44 +08:00

34 lines
829 B
Bash

# Maintainer: Breadway <rileyhorsham@gmail.com>
pkgname=breadpaper
pkgver=0.1.0
pkgrel=1
pkgdesc="Wallpaper manager for the bread desktop"
arch=('x86_64')
url="https://github.com/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"
}