void-packages/srcpkgs/lxdm/template

48 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-05-02 11:24:47 +02:00
# Template file for 'lxdm'
pkgname=lxdm
version=0.4.1
revision=7
patch_args="-Np1"
2012-05-02 11:24:47 +02:00
build_style=gnu-configure
configure_args="--with-pam"
hostmakedepends="pkg-config intltool automake libtool gettext-devel"
makedepends="pam-devel gtk+-devel systemd-devel iso-codes"
2012-05-02 11:24:47 +02:00
short_desc="GUI login manager for LXDE"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
2012-07-09 17:51:10 +02:00
homepage="http://www.lxde.org"
distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz"
2012-05-02 11:24:47 +02:00
checksum=9e0d0a5672fcf31a18de8178ce73eab1723d6ae7097dfe41e9fe2c46e180cf08
pre_configure() {
autoreconf -fi
}
2012-05-02 11:24:47 +02:00
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
2012-05-02 11:24:47 +02:00
}
lxdm_package() {
depends="shadow"
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"
pkg_install() {
vmove all
}
}