Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=68e53dfe2208470fce40837d3ceda48119371803

commit 68e53dfe2208470fce40837d3ceda48119371803
Author: crazy <[email protected]>
Date:   Sat Apr 16 16:50:41 2016 +0200

sddm-0.13.0-11-x86_64
* duh! I forgot we have already an install file ..
* change theme to breeze to match kf5 defaults

diff --git a/source/x11/sddm/FrugalBuild b/source/x11/sddm/FrugalBuild
index acf745b..75dde05 100644
--- a/source/x11/sddm/FrugalBuild
+++ b/source/x11/sddm/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=sddm
pkgver=0.13.0
-pkgrel=10
+pkgrel=11
pkgdesc='QML based X11 display manager'
archs=('i686' 'x86_64')
groups=('x11')
@@ -22,19 +22,17 @@ conflicts=('lightdm' 'lightdm-gtk-greeter' 'lightdm-kde' 
'lightdm-webkit-greeter
replaces=("${conflicts[@]}")
provides=("${conflicts[@]}")

-_F_systemd_units=(sddm=e)
-Finclude github cmake systemd
+Finclude github cmake
backup=('etc/sddm.conf')
options+=('scriptlet')
source+=(sddm.conf X-scripts-stop-using-files-from-users-HOME.patch)
sha1sums=('27df34e18c8ab602d035fe80958824ddb74effd9' \
-          '28bb36e8068ee32c64efcfde43a9422e901028e5' \
+          '1d0d459b9547cdb04420bc64c84d56ba698e2df7' \
'dc3228f5682fb881afa53e8b4e6b76a3dd32dafe')

build() {
CMake_build
Finstall 755 /etc/sddm.conf
-       Fgenscriptlet

}
# optimization OK
diff --git a/source/x11/sddm/sddm.conf b/source/x11/sddm/sddm.conf
index 41c2e95..95e7d6b 100644
--- a/source/x11/sddm/sddm.conf
+++ b/source/x11/sddm/sddm.conf
@@ -24,7 +24,7 @@ RebootCommand=/usr/bin/systemctl reboot

[Theme]
# Current theme name
-Current=maui
+Current=breeze

# Cursor theme
CursorTheme=
diff --git a/source/x11/sddm/sddm.install b/source/x11/sddm/sddm.install
index 18610c9..7541cd1 100644
--- a/source/x11/sddm/sddm.install
+++ b/source/x11/sddm/sddm.install
@@ -1,13 +1,19 @@
-post_install()
+pre_install()
{
getent group sddm > /dev/null 2>&1 || /usr/sbin/groupadd -g 631 sddm
getent passwd sddm > /dev/null 2>&1 || /usr/sbin/useradd -c 'Simple Display 
Manager' -u 651 -g sddm -d /var/lib/sddm -s /sbin/nologin -m sddm
passwd -l sddm > /dev/null
}

+
+post_install()
+{
+       systemctl enable sddm.service >/dev/null 2>&1
+}
+
post_upgrade()
{
-       post_install
+       pre_install
systemctl daemon-reload >/dev/null 2>&1
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to