summaryrefslogtreecommitdiff
path: root/repo/spice-protocol/spice-protocol.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/spice-protocol/spice-protocol.xibuild')
-rw-r--r--repo/spice-protocol/spice-protocol.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/spice-protocol/spice-protocol.xibuild b/repo/spice-protocol/spice-protocol.xibuild
new file mode 100644
index 0000000..8656080
--- /dev/null
+++ b/repo/spice-protocol/spice-protocol.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="xorg-server"
+
+DESC="Spice protocol headers"
+
+PKG_VER=0.14.3
+SOURCE=https://www.spice-space.org/download/releases/spice-protocol-$PKG_VER.tar.xz
+
+build () {
+ mkdir build
+ cd build
+ meson --prefix=/usr ..
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}