aports/testing/xwayland-satellite/APKBUILD

36 lines
997 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=xwayland-satellite
pkgver=0.5.1
pkgrel=0
pkgdesc="Xwayland manager for Wayland"
url="https://github.com/Supreeeme/xwayland-satellite"
arch="all"
license="MPL-2.0"
makedepends="cargo cargo-auditable libxcb-dev xwayland-dev xcb-util-cursor-dev clang-libclang"
source="https://github.com/Supreeeme/xwayland-satellite/archive/v$pkgver/xwayland-satellite-$pkgver.tar.gz"
# net: cargo crates
# !check: we don't have a headless wayland runner yet?
options="net !check"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --frozen
}
package() {
install -Dm755 target/release/xwayland-satellite -t "$pkgdir"/usr/bin
}
sha512sums="
31369add44d81607987a713968b80e8c237bbd545e734d1b856fe74a847623a714259c7229997bbf7a71147a3ca6a145f80ff17d7e551a33b5afe9cc4d422fb3 xwayland-satellite-0.5.1.tar.gz
"