summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD33
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bb291622f5d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = xisxwayland-git
+ pkgdesc = Tool to determine whether the X server in use is Xwayland
+ pkgver = 1+3.g7e175ea9cc
+ pkgrel = 1
+ url = https://gitlab.freedesktop.org/xorg/app/xisxwayland
+ arch = x86_64
+ license = MIT
+ makedepends = meson
+ makedepends = ninja
+ depends = libx11
+ depends = libxrandr
+ provides = xisxwayland=1
+ conflicts = xisxwayland
+ source = https://gitlab.freedesktop.org/xorg/app/xisxwayland
+ sha256sums = SKIP
+
+pkgname = xisxwayland-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..018a3de0814
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!PKGBUILD
+!.SRCINFO
+!.gitignore
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b6999850110
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
+
+_pkgname=xisxwayland
+pkgname=$_pkgname-git
+pkgver=1+3.g7e175ea9cc
+pkgrel=1
+pkgdesc="Tool to determine whether the X server in use is Xwayland"
+url="https://gitlab.freedesktop.org/xorg/app/xisxwayland"
+arch=(x86_64)
+license=(MIT)
+makedepends=(meson ninja)
+depends=(libx11 libxrandr)
+source=("git+$url")
+sha256sums=('SKIP')
+conflicts=($_pkgname)
+provides=($_pkgname=${pkgver%+*})
+
+pkgver() {
+ git -C $_pkgname describe --abbrev=10 | sed 's/^xisxwayland-//; s/-/+/; s/-/./'
+}
+
+build() {
+ arch-meson $_pkgname build
+ ninja -C build
+}
+
+check() {
+ ninja -C build test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}