summaryrefslogblamecommitdiff
path: root/user/xisxwayland/APKBUILD
blob: 70c570c5afdc7d7698ec55c067351a8465f224b0 (plain) (tree)































                                                                                                                                                                   
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xisxwayland
pkgver=2
pkgrel=0
pkgdesc="Determine if an X server is Xwayland"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="meson ninja libx11-dev libxrandr-dev"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		. build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="b89e19c85a5cd7e62a52e22772f80f03bfea069e31412ca11ac38174c4a2994be559e9d5fb49e6d1921b3f1b06ee71b50ede48990a1e7804a96207b08fc7827f  xisxwayland-2.tar.xz"