summaryrefslogtreecommitdiffstats
path: root/kde/kdebase-workspace/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-07-04 21:17:29 +0200
committertnut <thierryn1 at hispeed dot ch>2010-07-04 21:17:29 +0200
commitab1c264f0015502ddd6dce15ffbc80ef6307773f (patch)
tree5803e7466fb55fb4c522a9d4a4a15f6216066c3a /kde/kdebase-workspace/Pkgfile
parent78729c9160b36d4bfa035b97731bec77a740ed5d (diff)
downloadnutyx-extra-ab1c264f0015502ddd6dce15ffbc80ef6307773f.tar.gz
nutyx-extra-ab1c264f0015502ddd6dce15ffbc80ef6307773f.tar.bz2
nutyx-extra-ab1c264f0015502ddd6dce15ffbc80ef6307773f.tar.xz
nutyx-extra-ab1c264f0015502ddd6dce15ffbc80ef6307773f.zip
kdebase-workspace, nombreuses corrections
Diffstat (limited to 'kde/kdebase-workspace/Pkgfile')
-rwxr-xr-xkde/kdebase-workspace/Pkgfile31
1 files changed, 9 insertions, 22 deletions
diff --git a/kde/kdebase-workspace/Pkgfile b/kde/kdebase-workspace/Pkgfile
index 48709431f..2a49d8445 100755
--- a/kde/kdebase-workspace/Pkgfile
+++ b/kde/kdebase-workspace/Pkgfile
@@ -7,26 +7,15 @@
name=kdebase-workspace
version=4.4.90
-release=1
+release=2
source=( ftp://ftp.kde.org/pub/kde/unstable/$version/src/$name-$version.tar.bz2 \
- kdm \
lxde.desktop ede.desktop Xsession.kde4 \
http://kiao.no-ip.info/NuTyX/files/kdm-nutyx2009-2.tar.gz\
http://kiao.no-ip.info/NuTyX/files/absolute-nutyx.tar.gz \
- http://kiao.no-ip.info/NuTyX/files/nutyx-wall2009-2.tar.gz)
+ http://kiao.no-ip.info/NuTyX/files/Attapu.tar.gz)
build() {
mkdir -v -p $PKG/etc/kde
- mkdir -v -p $PKG/etc/rc.d/init.d
- mkdir -v -p $PKG/etc/rc.d/rc{0,1,2,3,4,5,6}.d
- install -m755 kdm $PKG/etc/rc.d/init.d/kdm
- ln -svf ../init.d/kdm $PKG/etc/rc.d/rc3.d/K10kdm
- ln -svf ../init.d/kdm $PKG/etc/rc.d/rc2.d/K10kdm
- ln -svf ../init.d/kdm $PKG/etc/rc.d/rc5.d/S40kdm
- ln -svf ../init.d/kdm $PKG/etc/rc.d/rc4.d/K10kdm
- ln -svf ../init.d/kdm $PKG/etc/rc.d/rc0.d/K10kdm
- ln -svf ../init.d/kdm $PKG/etc/rc.d/rc1.d/K10kdm
- ln -svf ../init.d/kdm $PKG/etc/rc.d/rc6.d/K10kdm
cd $name-$version
mkdir build
@@ -45,24 +34,22 @@ build() {
$PKG/usr/share/apps/kdm/themes/
sed -i "s/AllowRootLogin=false/AllowRootLogin=true/" \
$PKG/usr/share/config/kdm/kdmrc
- sed -i "s@gnome-session@/opt/gnome/bin/gnome-session@" \
- $PKG/usr/share/apps/kdm/sessions/gnome.desktop
sed -i "s/oxygen-air/kdm-nutyx/" $PKG/usr/share/config/kdm/kdmrc
sed -i "s/xdm.pid/kdm.pid/" $PKG/usr/share/config/kdm/kdmrc
- sed -i "s/#Language=de_DE/Language=fr_FR/" $PKG//usr/share/config/kdm/kdmrc
+ sed -i "s/#Language=de_DE/Language=fr_FR/" $PKG/usr/share/config/kdm/kdmrc
mv $PKG/usr/share/config/kdm/kdmrc $PKG/etc/kde/kdmrc
ln -sv /etc/kde/kdmrc $PKG/usr/share/config/kdm/kdmrc
- # Wallpaper still dirty method
- rm -r $PKG/usr/share/wallpapers
- mkdir $PKG/usr/share/wallpapers
- cp -a ../Air \
- $PKG/usr/share/wallpapers/
- # ksplash also quite dirty
+ mv ../Attapu $PKG/usr/share/wallpapers/
+# ksplash also quite dirty
rm -r $PKG/usr/share/apps/ksplash/Themes/Default
cp -a ../Absolute-NuTyX \
$PKG/usr/share/apps/ksplash/Themes/
ln -sv Absolute-NuTyX \
$PKG/usr/share/apps/ksplash/Themes/Default
chown -R root:root $PKG
+ mv $PKG/usr/etc/* $PKG/etc/
+ rm -r $PKG/usr/etc
+ mkdir -p $PKG/var/lib/kdm
+ chown -R kdm:kdm $PKG/var/lib/kdm
}