Commit 276fc30f authored by abveritas's avatar abveritas
Browse files

Merge branch 'testing' of gitorious.org:chakra-packages/platform into testing

parents 9c680f0e 44738aa9
#!/bin/bash
# launches a session dbus instance
dbuslaunch="`which dbus-launch 2>/dev/null`"
if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval `$dbuslaunch --sh-syntax --exit-with-session`
fi
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=dbus-systemd
_pkgname=dbus
pkgver=1.4.0
pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
arch=(i686 x86_64)
license=('GPL' 'custom')
depends=("dbus-core-systemd>=${pkgver}" 'libx11')
conflicts=('dbus=<1.4.5')
provides=('dbus')
makedepends=('libsm' 'libice')
source=(http://dbus.freedesktop.org/releases/${_pkgname}/${_pkgname}-${pkgver}.tar.gz
30-dbus)
md5sums=('f59618b18d2fb2bd1fce9e1c5a2a3282'
'd14e59575f04e55d21a04907b6fd9f3c')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/dbus-1.0 --with-dbus-user=81 \
--with-system-pid-file=/var/run/dbus.pid \
--disable-verbose-mode --disable-static \
--enable-inotify --disable-dnotify \
--disable-tests --disable-asserts
make -C tools dbus-launch
}
packages() {
cd "${srcdir}/${_pkgname}-${pkgver}"
install -m755 -d "${pkgdir}/usr/bin"
install -m755 -d "${pkgdir}/usr/share/man/man1"
install -m755 tools/dbus-launch "${pkgdir}/usr/bin/" || return 1
install -m644 doc/dbus-launch.1 "${pkgdir}/usr/share/man/man1/"
install -m755 -d "${pkgdir}/etc/X11/xinit/xinitrc.d"
install -m755 "${srcdir}/30-dbus" "${pkgdir}/etc/X11/xinit/xinitrc.d/"
install -d -m755 "${pkgdir}/usr/share/licenses/dbus"
install -m644 ../COPYING "${pkgdir}/usr/share/licenses/dbus/"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment