ConsoleKit2: added system service

This commit is contained in:
Andrea Brancaleoni 2015-06-14 21:50:48 +02:00
parent 6726fe560c
commit 48ee5ae9b8
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
sv check dbus >/dev/null || exit 1
exec console-kit-daemon --no-daemon

View file

@ -2,7 +2,7 @@
pkgname=ConsoleKit2
reverts=0.9.3_1
version=0.9.2
revision=7
revision=8
patch_args="-Np1"
build_pie=yes
build_style=gnu-configure
@ -32,6 +32,10 @@ pre_configure() {
autoreconf -fi
}
post_install() {
vsv consolekit
}
ConsoleKit2-devel_package() {
short_desc+=" - development files"
depends="dbus-devel ${sourcepkg}>=${version}_${revision}"