dbus: create /var/lib/dbus at post-install time, bumprev.

This commit is contained in:
Juan RP 2011-08-14 10:57:05 +02:00
parent c2041258a0
commit 0a906ebef1
2 changed files with 6 additions and 6 deletions

View File

@ -5,6 +5,7 @@ dbus_launch=usr/libexec/dbus-daemon-launch-helper
case "${ACTION}" in
post)
[ ! -d var/lib/dbus ] && install -d var/lib/dbus
[ ! -d etc/dbus-1/session.d ] && install -d etc/dbus-1/session.d
chown root:dbus ${dbus_launch}
chmod 4750 ${dbus_launch}

View File

@ -1,7 +1,7 @@
# Template file for 'dbus'
pkgname=dbus
version=1.4.14
revision=1
revision=2
homepage="http://dbus.freedesktop.org/"
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
build_style=gnu_configure
@ -42,10 +42,9 @@ Add_dependency build libX11-devel
post_install()
{
# install dbus-launch.
install -m755 tools/dbus-launch ${DESTDIR}/usr/bin
install -m644 doc/dbus-launch.1 ${DESTDIR}/usr/share/man/man1
install -Dm755 ${FILESDIR}/30-dbus-xinit \
${DESTDIR}/etc/X11/xinit/xinitrc.d/30-dbus
vinstall tools/dbus-launch 755 usr/bin
vinstall doc/dbus-launch.1 644 usr/share/man/man1
vinstall ${FILESDIR}/30-dbus-xinit 755 etc/X11/xinit/xinitrc.d 30-dbus
# Install the OpenRC service
install -D -m755 ${FILESDIR}/dbus.rc ${DESTDIR}/etc/init.d/dbus
vinstall ${FILESDIR}/dbus.rc 755 etc/init.d dbus
}