summaryrefslogtreecommitdiff
path: root/repo/system/libgudev.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libgudev.xibuild')
-rw-r--r--repo/system/libgudev.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/system/libgudev.xibuild b/repo/system/libgudev.xibuild
new file mode 100644
index 0000000..7ed1eab
--- /dev/null
+++ b/repo/system/libgudev.xibuild
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+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
+}