1 # Maintainer: Jan de Groot <jgc@archlinux.org>
6 pkgdesc="GLib bindings for DBUS"
7 url="https://www.freedesktop.org/wiki/Software/DBusBindings"
10 depends=('dbus' 'glib2')
11 makedepends=('python' 'gtk-doc')
12 source=(https://dbus.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
13 dbus-glib-bash-completion.patch::https://gitlab.freedesktop.org/dbus/dbus-glib/-/merge_requests/5.patch)
14 sha256sums=('7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a'
16 'edbdd4fb5fce358b427da1a1c68347ce09ca444da6ac67ff1fcd6cc67fc92f99')
17 validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90')
20 patch -d $pkgname-$pkgver -p1 < dbus-glib-bash-completion.patch # Fix bash completion
28 --localstatedir=/var \
29 --libexecdir=/usr/lib \
37 _c=/usr/share/bash-completion/completions
38 make DESTDIR="$pkgdir" install completiondir=$_c
39 mv "$pkgdir$_c"/{dbus-bash-completion.sh,dbus-send}