ConsoleKit: use make_dirs for logdir, bumprev.
This commit is contained in:
parent
31bb7f03ae
commit
7c4cdd62d9
2 changed files with 10 additions and 1 deletions
8
srcpkgs/ConsoleKit/REMOVE
Normal file
8
srcpkgs/ConsoleKit/REMOVE
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#
|
||||||
|
# This script removes leftovers dirs at purge time.
|
||||||
|
#
|
||||||
|
case "${ACTION}" in
|
||||||
|
purge)
|
||||||
|
[ -d var/log/ConsoleKit ] && rm -rf var/log/ConsoleKit
|
||||||
|
;;
|
||||||
|
esac
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ConsoleKit'
|
# Template file for 'ConsoleKit'
|
||||||
pkgname=ConsoleKit
|
pkgname=ConsoleKit
|
||||||
version=0.4.5
|
version=0.4.5
|
||||||
revision=3
|
revision=4
|
||||||
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
|
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-docbook-docs --enable-pam-module
|
configure_args="--enable-docbook-docs --enable-pam-module
|
||||||
|
@ -20,6 +20,7 @@ long_desc="
|
||||||
systemd_services="console-kit-daemon.service"
|
systemd_services="console-kit-daemon.service"
|
||||||
conf_files="/etc/logrotate.d/ConsoleKit"
|
conf_files="/etc/logrotate.d/ConsoleKit"
|
||||||
subpackages="$pkgname-devel $pkgname-x11"
|
subpackages="$pkgname-devel $pkgname-x11"
|
||||||
|
make_dirs="/var/log/${pkgname} 0755 root root"
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency run dbus-libs
|
Add_dependency run dbus-libs
|
||||||
|
|
Loading…
Add table
Reference in a new issue