lxdm: added runit service.

This commit is contained in:
Juan RP 2014-10-13 17:38:53 +02:00
parent 5402921f4e
commit d658409ed8
2 changed files with 5 additions and 1 deletions

2
srcpkgs/lxdm/files/lxdm/run Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec lxdm

View File

@ -1,7 +1,7 @@
# Template file for 'lxdm'
pkgname=lxdm
version=0.5.0
revision=2
revision=3
build_style=gnu-configure
build_options="consolekit"
build_options_default="consolekit"
@ -18,6 +18,7 @@ conf_files="
/etc/lxdm/Xsession
/etc/lxdm/lxdm.conf
/etc/pam.d/lxdm"
replaces="runit-void<20141013_2"
system_groups="lxdm"
short_desc="GUI login manager for LXDE"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -27,6 +28,7 @@ distfiles="${SOURCEFORGE_SITE}/lxdm/lxdm-${version}.tar.xz"
checksum=6e876fe8cc52341f3f55c54517da1c6dcf794aa11caffbf5a929ded442a949d4
post_install() {
vsv lxdm
# Use our own pam file.
rm -f ${DESTDIR}/etc/pam.d/lxdm
vinstall ${FILESDIR}/lxdm.pam 644 etc/pam.d lxdm