diff options
author | root <root@rshg054.dnsready.net> | 2012-12-06 02:18:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-06 02:18:52 -0800 |
commit | 3f0c4efbf72adbd091565fcc39ad1d09c92be5d0 (patch) | |
tree | f9b2abf9234090740a20840b7ca92991803a9316 /core/dbus/PKGBUILD | |
parent | 947a049195183934ba5dffc131f9512fe253f4db (diff) |
Thu Dec 6 02:15:36 PST 2012
Diffstat (limited to 'core/dbus/PKGBUILD')
-rw-r--r-- | core/dbus/PKGBUILD | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/core/dbus/PKGBUILD b/core/dbus/PKGBUILD new file mode 100644 index 000000000..32b9a30bf --- /dev/null +++ b/core/dbus/PKGBUILD @@ -0,0 +1,59 @@ +# $Id: PKGBUILD 172792 2012-12-06 01:48:03Z tomegun $ +# Maintainer: Tom Gundersen <teg@jklm.no> +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Link Dupont <link@subpop.net> +# +pkgname=dbus +pkgver=1.6.8 +pkgrel=6 +pkgdesc="Freedesktop.org message bus system" +url="http://www.freedesktop.org/Software/dbus" +arch=(i686 x86_64) +license=('GPL' 'custom') +# do not depend on systemd to avoid circular dep, +# dep on shadow for install scriptlet FS#29341 +depends=('expat' 'coreutils' 'filesystem' 'shadow') +makedepends=('libx11') +optdepends=('libx11: dbus-launch support') +provides=('dbus-core') +conflicts=('dbus-core') +replaces=('dbus-core') +options=(!libtool) +install=dbus.install +source=(http://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz #{,.asc} + 30-dbus dbus systemd-user-session.patch) + +build() { + cd dbus-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --libexecdir=/usr/lib/dbus-1.0 --with-dbus-user=dbus \ + --with-system-pid-file=/run/dbus/pid \ + --with-system-socket=/run/dbus/system_bus_socket \ + --with-console-auth-dir=/run/console/ \ + --enable-inotify --disable-dnotify \ + --disable-verbose-mode --disable-static \ + --disable-tests --disable-asserts \ + --with-systemdsystemunitdir=/usr/lib/systemd/system \ + --enable-systemd + + patch -p1 < "$srcdir/systemd-user-session.patch" + + make +} + +package(){ + cd dbus-$pkgver + make DESTDIR="$pkgdir" install + + rm -rf "$pkgdir/var/run" + + install -Dm755 ../dbus "$pkgdir/etc/rc.d/dbus" + + install -Dm755 ../30-dbus "$pkgdir/etc/X11/xinit/xinitrc.d/30-dbus" + + install -Dm644 COPYING "$pkgdir/usr/share/licenses/dbus/COPYING" +} +md5sums=('3bf059c7dd5eda5f539a1b7cfe7a14a2' + '9fafe8b28460aeaa6054309ef4c5ed92' + 'f0364f3f5dc5f653bb05d39aa36e3264' + 'd8a1bd529b3ddca671ee1a695a143db9') |