summaryrefslogtreecommitdiff
path: root/user/xisxwayland/APKBUILD
blob: 70c570c5afdc7d7698ec55c067351a8465f224b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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"