archrelease: copy trunk to extra-x86_64
[arch-packages.git] / dbus-glib / repos / extra-x86_64 / PKGBUILD
blob855c5b0d23bec2b112a1410568edbfd04178c946
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=dbus-glib
4 pkgver=0.112
5 pkgrel=2
6 pkgdesc="GLib bindings for DBUS"
7 url="https://www.freedesktop.org/wiki/Software/DBusBindings"
8 arch=(x86_64)
9 license=('GPL')
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'
15             'SKIP'
16             'edbdd4fb5fce358b427da1a1c68347ce09ca444da6ac67ff1fcd6cc67fc92f99')
17 validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90')
19 prepare() {
20   patch -d $pkgname-$pkgver -p1 < dbus-glib-bash-completion.patch # Fix bash completion
23 build() {
24   cd $pkgname-$pkgver
25   ./configure \
26     --prefix=/usr \
27     --sysconfdir=/etc \
28     --localstatedir=/var \
29     --libexecdir=/usr/lib \
30     --enable-gtk-doc \
31     --disable-static
32   make
35 package() {
36   cd $pkgname-$pkgver
37   _c=/usr/share/bash-completion/completions
38   make DESTDIR="$pkgdir" install completiondir=$_c
39   mv "$pkgdir$_c"/{dbus-bash-completion.sh,dbus-send}