summaryrefslogtreecommitdiff
path: root/repo/x11/wayland-protocols/wayland-protocols.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/x11/wayland-protocols/wayland-protocols.xibuild')
-rw-r--r--repo/x11/wayland-protocols/wayland-protocols.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/x11/wayland-protocols/wayland-protocols.xibuild b/repo/x11/wayland-protocols/wayland-protocols.xibuild
new file mode 100644
index 0000000..764fa29
--- /dev/null
+++ b/repo/x11/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
+}