void-packages/srcpkgs/lxdm/template

42 lines
1.1 KiB
Text
Raw Normal View History

2012-05-02 09:24:47 +00:00
# Template file for 'lxdm'
pkgname=lxdm
version=0.4.1
2012-07-09 15:51:10 +00:00
revision=3
2012-05-02 09:24:47 +00:00
build_style=gnu-configure
configure_args="-with-xconn=xcb"
makedepends="pkg-config intltool gtk+-devel ConsoleKit-devel"
fulldepends="iso-codes"
2012-05-26 18:39:13 +00:00
provides="display-manager-0"
replaces="display-manager>=0"
system_groups="lxdm"
systemd_services="lxdm.service off"
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"
distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz"
2012-05-02 09:24:47 +00:00
checksum=9e0d0a5672fcf31a18de8178ce73eab1723d6ae7097dfe41e9fe2c46e180cf08
long_desc="
A lightweight dropped-in replacement for GDM or KDM."
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
2012-05-02 12:34:30 +00:00
/etc/pam.d/lxdm"
2012-05-02 09:24:47 +00:00
post_install() {
# Remove useless script.
rm -f ${DESTDIR}/usr/sbin/lxdm
# Use our own pam file.
rm -f ${DESTDIR}/etc/pam.d/lxdm
vinstall ${FILESDIR}/lxdm.pam 644 etc/pam.d lxdm
# Install systemd service.
2012-07-09 15:51:10 +00:00
vinstall ${FILESDIR}/lxdm.service 644 usr/lib/systemd/system
2012-05-02 09:24:47 +00:00
}