diff --git a/testing/xwayland-satellite/APKBUILD b/testing/xwayland-satellite/APKBUILD new file mode 100644 index 00000000000..da0bc18269c --- /dev/null +++ b/testing/xwayland-satellite/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Patrycja Rosa +# Maintainer: Patrycja Rosa +pkgname=xwayland-satellite +pkgver=0.5 +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=" +89d57241d69f7f35b8c68019cedbe07f9c43601db27fcfacf9725391a3969a30fa0d1f21ae50762e0c64c674a80a6859d529130881056673499363f4dfbc258b xwayland-satellite-0.5.tar.gz +"