1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Tom Gundersen <teg@jklm.no>
4 # Contributor: Link Dupont <link@subpop.net>
7 pkgname=(dbus dbus-docs)
10 pkgdesc="Freedesktop.org message bus system"
11 url="https://wiki.freedesktop.org/www/Software/dbus/"
14 depends=(systemd-libs expat audit)
15 makedepends=(systemd xmlto docbook-xsl python yelp-tools doxygen git autoconf-archive)
17 source=("git+https://gitlab.freedesktop.org/dbus/dbus.git?signed#tag=dbus-$pkgver"
18 dbus-reload.hook no-fatal-warnings.diff)
20 'd636205622d0ee3b0734360225739ef0c7ad2468a09489e6ef773d88252960f3'
21 'c10395be67e1127a58d7173b587fbbf16f8a8b271c41293558fcf9e27c185478')
22 validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90') # Simon McVittie <simon.mcvittie@collabora.co.uk>
27 # Allow us to enable checks without them being fatal
28 patch -Np1 -i ../no-fatal-warnings.diff
30 NOCONFIGURE=1 ./autogen.sh
38 --localstatedir=/var \
39 --libexecdir=/usr/lib/dbus-1.0 \
41 --with-console-auth-dir=/run/console/ \
42 --with-dbus-user=dbus \
43 --with-system-pid-file=/run/dbus/pid \
44 --with-system-socket=/run/dbus/system_bus_socket \
45 --with-systemdsystemunitdir=/usr/lib/systemd/system \
49 --enable-user-session \
51 --enable-doxygen-docs \
52 --enable-ducktype-docs \
59 make -C dbus -j1 check
63 depends+=(libsystemd.so libaudit.so)
64 provides=(libdbus libdbus-1.so)
68 DESTDIR="$pkgdir" make -C dbus install
70 rm -r "$pkgdir"/{etc,var}
72 # We have a pre-assigned uid (81)
73 echo 'u dbus 81 "System Message Bus"' |
74 install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/dbus.conf"
76 install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
79 mkdir -p doc/usr/share
80 mv {"$pkgdir",doc}/usr/share/doc
82 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
86 pkgdesc+=" (documentation)"
91 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
94 # vim:set sw=2 sts=-1 et: