mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
dbus: create /var/lib/dbus at post-install time, bumprev.
This commit is contained in:
parent
c2041258a0
commit
0a906ebef1
2 changed files with 6 additions and 6 deletions
|
@ -5,6 +5,7 @@ dbus_launch=usr/libexec/dbus-daemon-launch-helper
|
||||||
|
|
||||||
case "${ACTION}" in
|
case "${ACTION}" in
|
||||||
post)
|
post)
|
||||||
|
[ ! -d var/lib/dbus ] && install -d var/lib/dbus
|
||||||
[ ! -d etc/dbus-1/session.d ] && install -d etc/dbus-1/session.d
|
[ ! -d etc/dbus-1/session.d ] && install -d etc/dbus-1/session.d
|
||||||
chown root:dbus ${dbus_launch}
|
chown root:dbus ${dbus_launch}
|
||||||
chmod 4750 ${dbus_launch}
|
chmod 4750 ${dbus_launch}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dbus'
|
# Template file for 'dbus'
|
||||||
pkgname=dbus
|
pkgname=dbus
|
||||||
version=1.4.14
|
version=1.4.14
|
||||||
revision=1
|
revision=2
|
||||||
homepage="http://dbus.freedesktop.org/"
|
homepage="http://dbus.freedesktop.org/"
|
||||||
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
|
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
|
@ -42,10 +42,9 @@ Add_dependency build libX11-devel
|
||||||
post_install()
|
post_install()
|
||||||
{
|
{
|
||||||
# install dbus-launch.
|
# install dbus-launch.
|
||||||
install -m755 tools/dbus-launch ${DESTDIR}/usr/bin
|
vinstall tools/dbus-launch 755 usr/bin
|
||||||
install -m644 doc/dbus-launch.1 ${DESTDIR}/usr/share/man/man1
|
vinstall doc/dbus-launch.1 644 usr/share/man/man1
|
||||||
install -Dm755 ${FILESDIR}/30-dbus-xinit \
|
vinstall ${FILESDIR}/30-dbus-xinit 755 etc/X11/xinit/xinitrc.d 30-dbus
|
||||||
${DESTDIR}/etc/X11/xinit/xinitrc.d/30-dbus
|
|
||||||
# Install the OpenRC service
|
# Install the OpenRC service
|
||||||
install -D -m755 ${FILESDIR}/dbus.rc ${DESTDIR}/etc/init.d/dbus
|
vinstall ${FILESDIR}/dbus.rc 755 etc/init.d dbus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue