summaryrefslogtreecommitdiff
path: root/user/xisxwayland
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-21 00:58:28 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-24 05:45:17 +0000
commitf324d2a5c24c66fff7f15ecc14e828859c9b04e8 (patch)
treec9b5e843ffe2a122bc29db11ba89d8cbcbf0cd8a /user/xisxwayland
parent64a10287b89ca18af5a1087c9b5af967311d381b (diff)
downloadpackages-f324d2a5c24c66fff7f15ecc14e828859c9b04e8.tar.gz
packages-f324d2a5c24c66fff7f15ecc14e828859c9b04e8.tar.bz2
packages-f324d2a5c24c66fff7f15ecc14e828859c9b04e8.tar.xz
packages-f324d2a5c24c66fff7f15ecc14e828859c9b04e8.zip
user/xisxwayland: New package
Diffstat (limited to 'user/xisxwayland')
-rw-r--r--user/xisxwayland/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/xisxwayland/APKBUILD b/user/xisxwayland/APKBUILD
new file mode 100644
index 000000000..70c570c5a
--- /dev/null
+++ b/user/xisxwayland/APKBUILD
@@ -0,0 +1,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"