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>
13 pkgdesc="Freedesktop.org message bus system"
14 url="https://wiki.freedesktop.org/www/Software/dbus/"
36 "git+https://gitlab.freedesktop.org/dbus/dbus.git?signed#tag=dbus-$pkgver"
40 '05ab81bf72e7cf45ad943f5b84eaecef4f06bed94979c579a3e23134cbabd7ea6f65fa9ac252f8b43ceb4a3295e0d2325f06560a044fe7ddf125fc30dfc2b7e2')
41 validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90') # Simon McVittie <simon.mcvittie@collabora.co.uk>
46 NOCONFIGURE=1 ./autogen.sh
50 local configure_options=(
54 --libexecdir=/usr/lib/dbus-1.0
56 --with-console-auth-dir=/run/console/
58 --with-system-pid-file=/run/dbus/pid
59 --with-system-socket=/run/dbus/system_bus_socket
60 --with-systemdsystemunitdir=/usr/lib/systemd/system
67 --enable-ducktype-docs
73 ./configure "${configure_options[@]}"
78 make -C dbus -j1 check
93 DESTDIR="$pkgdir" make -C dbus install
95 rm -r "$pkgdir"/{etc,var}
97 # We have a pre-assigned uid (81)
98 echo 'u dbus 81 "System Message Bus"' |
99 install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/dbus.conf"
101 install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
104 mkdir -p doc/usr/share
105 mv {"$pkgdir",doc}/usr/share/doc
107 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
110 package_dbus-docs() {
111 pkgdesc+=" - Documentation"
116 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
119 # vim:set sw=2 sts=-1 et: