2012-05-02 09:24:47 +00:00
|
|
|
# Template file for 'lxdm'
|
|
|
|
pkgname=lxdm
|
2014-05-11 15:47:10 +00:00
|
|
|
version=0.5.0
|
2014-11-09 08:51:08 +00:00
|
|
|
revision=4
|
2012-05-02 09:24:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-11-09 08:51:08 +00:00
|
|
|
build_options="systemd"
|
|
|
|
configure_args="$(vopt_if systemd --disable-consolekit --enable-consolekit) --with-pam"
|
2014-05-11 15:47:10 +00:00
|
|
|
hostmakedepends="pkg-config intltool"
|
2014-11-09 08:51:08 +00:00
|
|
|
makedepends="pam-devel gtk+-devel iso-codes $(vopt_if systemd '' ConsoleKit-devel)"
|
2014-01-01 15:10:11 +00:00
|
|
|
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"
|
2012-05-02 09:24:47 +00:00
|
|
|
short_desc="GUI login manager for LXDE"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
2012-07-09 15:51:10 +00:00
|
|
|
homepage="http://www.lxde.org"
|
2014-05-11 15:47:10 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/lxdm/lxdm-${version}.tar.xz"
|
|
|
|
checksum=6e876fe8cc52341f3f55c54517da1c6dcf794aa11caffbf5a929ded442a949d4
|
2012-05-02 09:24:47 +00:00
|
|
|
|
|
|
|
post_install() {
|
2014-10-13 15:38:53 +00:00
|
|
|
vsv lxdm
|
2012-05-02 09:24:47 +00:00
|
|
|
# Use our own pam file.
|
|
|
|
rm -f ${DESTDIR}/etc/pam.d/lxdm
|
|
|
|
vinstall ${FILESDIR}/lxdm.pam 644 etc/pam.d lxdm
|
2013-10-28 09:59:00 +00:00
|
|
|
|
|
|
|
vmkdir var/lib/lxdm
|
|
|
|
echo 'GDK_CORE_DEVICE_EVENTS=true' > ${DESTDIR}/var/lib/lxdm/.pam_environment
|
2012-05-02 09:24:47 +00:00
|
|
|
}
|