aboutsummaryrefslogtreecommitdiff
path: root/system/sddm/sddm.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2017-11-03 22:16:54 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-11-03 23:18:38 +0000
commitd74bb259a9038cdbdc7f8ccda71275a466c94f66 (patch)
tree131bd0d72f09b4686f923c2d4b1614ce01b8810e /system/sddm/sddm.SlackBuild
parent4b65b136483721f396cd8a21fbd806068d7602b4 (diff)
system/sddm: Patched + important info in README.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/sddm/sddm.SlackBuild')
-rw-r--r--system/sddm/sddm.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/sddm/sddm.SlackBuild b/system/sddm/sddm.SlackBuild
index c74771be5cbaa..f21cdad6fc9a5 100644
--- a/system/sddm/sddm.SlackBuild
+++ b/system/sddm/sddm.SlackBuild
@@ -23,7 +23,7 @@
PRGNAM=sddm
VERSION=${VERSION:-0.16.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +70,9 @@ find -L . \
patch -p1 --verbose < $CWD/consolekit.patch
+# Fix so that SDDM doesn't run ~/.xsession
+patch -p1 --verbose < $CWD/xsession.patch
+
mkdir -p build
cd build
cmake \
@@ -95,6 +98,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/etc/sddm.conf $PKG/etc/sddm.conf.new
+mkdir -p $PKG/var/lib/sddm
+chown sddm:users $PKG/var/lib/sddm
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh