summaryrefslogtreecommitdiff
path: root/repo/system/libgudev/libgudev.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libgudev/libgudev.xibuild')
-rw-r--r--repo/system/libgudev/libgudev.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/system/libgudev/libgudev.xibuild b/repo/system/libgudev/libgudev.xibuild
new file mode 100644
index 0000000..a365c76
--- /dev/null
+++ b/repo/system/libgudev/libgudev.xibuild
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+MAKEDEPS="meson"
+DEPS="glib2 libudev"
+
+PKG_VER=237
+SOURCE=https://download.gnome.org/sources/libgudev/$PKG_VER/libgudev-$PKG_VER.tar.xz
+DESC="GObject bindings for libudev"
+
+build () {
+ mkdir build &&
+ cd build &&
+
+ meson --prefix=/usr --buildtype=release .. &&
+ ninja
+
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}