lightdm: create system user/group, create required dir.

This commit is contained in:
Juan RP 2011-02-16 19:22:21 +01:00
parent 26cedca94f
commit a615ed950f

View file

@ -1,10 +1,10 @@
# Template file for 'lightdm'
pkgname=lightdm
version=0.2.3
revision=1
revision=2
distfiles="http://launchpad.net/lightdm/trunk/$version/+download/lightdm-$version.tar.gz"
build_style=gnu_configure
configure_args="--localstatedir=/var"
configure_args="--localstatedir=/var --with-greeter-user=lightdm"
short_desc="Light Display Manager"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=5b925a6eeb0b670b1e9f5a1b2f5dae29eceb1c1ceb17db5bd33aea4354bfe432
@ -16,7 +16,11 @@ long_desc="
* Fully themeable (easiest with the webkit interface)
* Cross-desktop (greeters can be written in any toolkit)"
system_accounts="lightdm"
lightdm_homedir="/var/cache/lightdm"
openrc_services="lightdm default true"
keep_empty_dirs=yes
subpackages="gir-lightdm liblightdm-gobject liblightdm-qt"
subpackages="${subpackages} lightdm-webkit lightdm-devel"
@ -70,4 +74,5 @@ post_install()
# Provide a working session wrapper.
sed -i -e "s|^\#\(session-wrapper=\).*|\1${xs}|" \
${DESTDIR}/etc/lightdm.conf
install -d ${DESTDIR}/var/cache/lightdm
}