void-packages/srcpkgs/lxdm/template
2014-05-11 17:47:10 +02:00

35 lines
1,003 B
Text

# Template file for 'lxdm'
pkgname=lxdm
version=0.5.0
revision=1
build_style=gnu-configure
configure_args="--with-pam --with-systemdsystemunitdir=/usr/lib/systemd/system"
hostmakedepends="pkg-config intltool"
makedepends="pam-devel gtk+-devel iso-codes"
conf_files="
/etc/lxdm/LoginReady
/etc/lxdm/PostLogin
/etc/lxdm/PostLogout
/etc/lxdm/PreLogin
/etc/lxdm/PreReboot
/etc/lxdm/PreShutdown
/etc/lxdm/Xsession
/etc/lxdm/lxdm.conf
/etc/pam.d/lxdm"
system_groups="lxdm"
systemd_services="lxdm.service off"
short_desc="GUI login manager for LXDE"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.lxde.org"
distfiles="${SOURCEFORGE_SITE}/lxdm/lxdm-${version}.tar.xz"
checksum=6e876fe8cc52341f3f55c54517da1c6dcf794aa11caffbf5a929ded442a949d4
post_install() {
# Use our own pam file.
rm -f ${DESTDIR}/etc/pam.d/lxdm
vinstall ${FILESDIR}/lxdm.pam 644 etc/pam.d lxdm
vmkdir var/lib/lxdm
echo 'GDK_CORE_DEVICE_EVENTS=true' > ${DESTDIR}/var/lib/lxdm/.pam_environment
}