summaryrefslogtreecommitdiff
path: root/repo/system/dbus.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-19 16:40:48 +0000
committerdavidovski <david@davidovski.xyz>2022-01-19 16:40:48 +0000
commit918a7c76dfb3a917cc43229b6366b364cef464e5 (patch)
treef116a3c6809f40c8a7eccbd7b639f58e75a8e952 /repo/system/dbus.xibuild
parent7fd993861dffc4e2c34dea0a4fe4f4d451d20878 (diff)
added dbus
Diffstat (limited to 'repo/system/dbus.xibuild')
-rw-r--r--repo/system/dbus.xibuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/repo/system/dbus.xibuild b/repo/system/dbus.xibuild
new file mode 100644
index 0000000..e7fc082
--- /dev/null
+++ b/repo/system/dbus.xibuild
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+DEPS=(elogind)
+
+PKG_VER=1.12.20
+SOURCE=https://dbus.freedesktop.org/releases/dbus/dbus-$PKG_VER.tar.gz
+
+DESC="A message bus system allowing applications to talk to one another"
+
+build () {
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-user-session \
+ --disable-doxygen-docs \
+ --disable-xml-docs \
+ --disable-static \
+ --with-systemduserunitdir=no \
+ --with-systemdsystemunitdir=no \
+ --docdir=/usr/share/doc/dbus-$PKG_VER \
+ --with-console-auth-dir=/run/console \
+ --with-system-pid-file=/run/dbus/pid \
+ --with-system-socket=/run/dbus/system_bus_socket &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+
+ chown -v root:messagebus $PKG_DEST/usr/libexec/dbus-daemon-launch-helper &&
+ chmod -v 4750 $PKG_DEST/usr/libexec/dbus-daemon-launch-helper
+}