sddm: create /var/lib/sddm with make_dirs=

This commit is contained in:
maxice8 2019-01-16 15:20:30 -02:00 committed by maxice8
parent 9a1ba4b505
commit c153810182
2 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,4 @@
#!/bin/sh
set -e
sv check dbus >/dev/null || exit 1
mkdir -p /var/lib/sddm
chown -R sddm:sddm /var/lib/sddm
exec sddm 2>&1

View file

@ -1,7 +1,7 @@
# Template file for 'sddm'
pkgname=sddm
version=0.18.0
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DUSE_ELOGIND=1
-DLOGIN_DEFS_PATH=${XBPS_SRCPKGDIR}/shadow/files/login.defs
@ -16,7 +16,7 @@ homepage="http://github.com/sddm/sddm"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=9c50b6194f1b4dbf6e1a1b21f23c2c5e384871172985e192b91585986d38eec4
if [ -n "$CROSS_BUILD" ]; then
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" sddm qt5-host-tools qt5-qmake qt5-tools"
fi
@ -27,6 +27,7 @@ conf_files="
/etc/pam.d/sddm
/etc/pam.d/sddm-greeter
/etc/pam.d/sddm-autologin"
make_dirs="/var/lib/sddm 0755 sddm sddm"
post_install() {
sed -i 's,systemd,ck_connector,g' ${DESTDIR}/etc/pam.d/sddm-greeter