# Maintainer: PktSurf app=dbus version=1.12.20 build=1sml homepage="https://wiki.freedesktop.org/www/Software/dbus/" download="https://dbus.freedesktop.org/releases/dbus/dbus-$version.tar.gz" desc="Freedesktop.org message bus system" requires="netbsd-curses util-linux expat python3 xmlto" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions applypatch $srcdir/dbus-allow-root-globally.diff } build() { ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-Werror \ --disable-installed-tests \ --enable-shared=yes \ --enable-static=yes \ --disable-verbose-mode \ --with-dbus-user=messagebus \ --enable-inotify \ --enable-user-session \ --with-session-socket-dir=/tmp \ --with-system-pid-file=/var/run/dbus.pid \ --disable-systemd \ --with-x \ --disable-doxygen-docs # Fix some directory ownership mkdir -p $pkg/var/lib/dbus chown messagebus $pkg/var/lib/dbus make make install DESTDIR=$pkg cp COPYING $pkgdocs/ mkfinalpkg } sha512sums=" c288a333102b6fd9d9606c667f6ccb624f7aeaeadb88b4c2aec062738e0e46c56b38d0c426299bda7f6bac1eb2d534f6c0342413ffa8a48bb0033c042e44b3fc dbus-1.12.20.tar.lz c631e89a11c00eb3977aa3c28dc55d3feb4db785c039429c7cc6c1f53e146ca198afb064b61fc4abaaa7fdc6722a5d6393e1294e39aeee3728472e0950d3df20 dbus-allow-root-globally.diff "