summaryrefslogtreecommitdiff
path: root/repo/system/libgudev.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-19 16:00:22 +0000
committerdavidovski <david@davidovski.xyz>2022-02-19 16:00:22 +0000
commit8aa51a5e03149837504688ab3cdcb7aa2ee5fadd (patch)
treee43956663c004f26ed571766a0a41a1011cdec7e /repo/system/libgudev.xibuild
parent0e8837f1bc69f7c8c9d1976550ea5b86e7e3d342 (diff)
fixed dependency issues
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
+}