summaryrefslogtreecommitdiff
path: root/repo/wayland-protocols/wayland-protocols.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/wayland-protocols/wayland-protocols.xibuild')
-rw-r--r--repo/wayland-protocols/wayland-protocols.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/wayland-protocols/wayland-protocols.xibuild b/repo/wayland-protocols/wayland-protocols.xibuild
new file mode 100644
index 0000000..764fa29
--- /dev/null
+++ b/repo/wayland-protocols/wayland-protocols.xibuild
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+MAKEDEPS="meson ninja"
+DEPS="wayland"
+
+PKG_VER=1.25
+SOURCE=https://wayland.freedesktop.org/releases/wayland-protocols-$PKG_VER.tar.xz
+
+DESC="Specifications of extended Wayland protocols"
+
+build () {
+ mkdir build &&
+ cd build &&
+
+ meson --prefix=/usr --buildtype=release &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}