void-packages/srcpkgs/slim/template

25 lines
723 B
Plaintext

# Template file for 'slim'
pkgname=slim
version=1.3.5
revision=1
build_style=cmake
configure_args="-DUSE_PAM=yes -DUSE_CONSOLEKIT=no"
short_desc="Desktop-independent graphical login manager for X11"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://slim.berlios.de/"
distfiles="http://download.berlios.de/slim/slim-${version}.tar.gz"
checksum=818d209f51e2fa8d5b94ef75ce90a7415be48b45e796d66f8083a9532b655629
conf_files="/etc/slim.conf /etc/pam.d/slim"
makedepends="cmake pkg-config libpng-devel libjpeg-turbo-devel libXmu-devel
libXft-devel pam-devel"
pre_configure() {
sed -i 's|usr/lib/systemd/system|/&|' CMakeLists.txt
}
post_install() {
vinstall ${FILESDIR}/slim.pam 644 etc/pam.d slim
}