mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
kde-workspace: added kdm runit service.
This commit is contained in:
parent
a11c79bd3f
commit
8f7625c196
2 changed files with 8 additions and 4 deletions
2
srcpkgs/kde-workspace/files/kdm/run
Executable file
2
srcpkgs/kde-workspace/files/kdm/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec kdm -nodaemon
|
|
@ -3,7 +3,7 @@ _kdeversion=4.13.3
|
||||||
|
|
||||||
pkgname=kde-workspace
|
pkgname=kde-workspace
|
||||||
version=4.11.11
|
version=4.11.11
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Provides the interface and basic tools for the KDE workspace"
|
short_desc="Provides the interface and basic tools for the KDE workspace"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL, LGPL, FDL"
|
license="GPL, LGPL, FDL"
|
||||||
|
@ -33,6 +33,7 @@ conf_files="
|
||||||
/etc/pam.d/kde-np.pam
|
/etc/pam.d/kde-np.pam
|
||||||
/etc/pam.d/kde.pam
|
/etc/pam.d/kde.pam
|
||||||
/etc/pam.d/kscreensaver.pam"
|
/etc/pam.d/kscreensaver.pam"
|
||||||
|
replaces="runit-void<20141013_2"
|
||||||
system_accounts="kdm"
|
system_accounts="kdm"
|
||||||
kdm_homedir="/var/lib/kdm"
|
kdm_homedir="/var/lib/kdm"
|
||||||
make_dirs="
|
make_dirs="
|
||||||
|
@ -59,8 +60,10 @@ post_install() {
|
||||||
for f in kde kde-np kscreensaver; do
|
for f in kde kde-np kscreensaver; do
|
||||||
install -m644 ${FILESDIR}/${f}.pam ${DESTDIR}/etc/pam.d/${f}
|
install -m644 ${FILESDIR}/${f}.pam ${DESTDIR}/etc/pam.d/${f}
|
||||||
done
|
done
|
||||||
vinstall ${FILESDIR}/kdm.service 644 usr/lib/systemd/system
|
if [ "$build_option_systemd" ]; then
|
||||||
|
vinstall ${FILESDIR}/kdm.service 644 usr/lib/systemd/system
|
||||||
|
fi
|
||||||
|
vsv kdm
|
||||||
vmkdir usr/share/xsessions
|
vmkdir usr/share/xsessions
|
||||||
ln -sf /usr/share/apps/kdm/sessions/kde-plasma{,-safe}.desktop \
|
ln -sf /usr/share/apps/kdm/sessions/kde-plasma{,-safe}.desktop \
|
||||||
${DESTDIR}/usr/share/xsessions
|
${DESTDIR}/usr/share/xsessions
|
||||||
|
@ -78,7 +81,6 @@ kde-workspace-devel_package() {
|
||||||
vmove usr/share/apps/cmake
|
vmove usr/share/apps/cmake
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
kde-python_package() {
|
kde-python_package() {
|
||||||
short_desc+=" - Python 2 bindings"
|
short_desc+=" - Python 2 bindings"
|
||||||
pycompile_module="PyKDE4"
|
pycompile_module="PyKDE4"
|
||||||
|
|
Loading…
Add table
Reference in a new issue