# Maintainer: Natanael Copa pkgname=dbus pkgver=1.4.6 pkgrel=0 pkgdesc="Freedesktop.org message bus system" url="http://www.freedesktop.org/Software/dbus" pkggroups="messagebus" arch="all" license="GPL custom" subpackages="$pkgname-dev $pkgname-doc" triggers="$pkgname.trigger:/etc/dbus-1/system.d" depends= makedepends="expat-dev libx11-dev pkgconfig util-linux-ng-dev" depends_dev="util-linux-ng-dev" install="$pkgname.pre-install $pkgname.post-install" source="http://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz $pkgname.initd " build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --with-xml=expat \ --with-dbus-user=messagebus \ --with-system-pid-file=/var/run/dbus.pid \ --disable-verbose-mode \ --disable-static \ --enable-inotify \ --disable-dnotify \ --disable-tests \ --disable-asserts \ --with-x || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make -j1 DESTDIR="$pkgdir" install install -Dm755 "$srcdir"/dbus.initd "$pkgdir"/etc/init.d/dbus } md5sums="99b165f727dd8a5c4b7e2c20a8bf5db6 dbus-1.4.6.tar.gz 58356b4db650a89312a670c02804c540 dbus.initd"