void-packages/srcpkgs/sddm/template
2016-11-08 12:08:16 +01:00

35 lines
1,021 B
Bash

# Template file for 'sddm'
pkgname=sddm
version=0.14.0
revision=3
build_style=cmake
configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DLOGIN_DEFS_PATH=/etc/login.defs"
hostmakedepends="extra-cmake-modules pkg-config python-docutils"
makedepends="qt5-declarative-devel qt5-tools-devel pam-devel"
depends="dbus"
short_desc="QML based X11 display manager"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://github.com/sddm/sddm"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=a551551a6ba324e9c384c89bc63e871de65fea3740eadbea2d63df86045f8205
system_accounts="sddm"
sddm_homedir="/var/lib/sddm"
sddm_groups="video"
conf_files="
/etc/sddm.conf
/etc/pam.d/sddm
/etc/pam.d/sddm-greeter
/etc/pam.d/sddm-autologin"
# Both install /etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
conflicts="lightdm>=0"
pre_configure() {
touch -f /etc/login.defs
}
post_install() {
sed -i 's,systemd,ck_connector,g' ${DESTDIR}/etc/pam.d/sddm-greeter
vsv sddm
}