summaryrefslogtreecommitdiffstats
path: root/kde/kdebase-workspace/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-25 14:16:35 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-25 14:16:35 +0200
commiteebaf8c55e05c8443d0ab857a73e36489f61ad3f (patch)
treeda3ccd077af2c308d282db1b022648e1c533e24a /kde/kdebase-workspace/Pkgfile
parent3981cb7d766ea9ab428aaa04e1a2f27403511ce7 (diff)
downloadnutyx-pakxe-eebaf8c55e05c8443d0ab857a73e36489f61ad3f.tar.gz
nutyx-pakxe-eebaf8c55e05c8443d0ab857a73e36489f61ad3f.tar.bz2
nutyx-pakxe-eebaf8c55e05c8443d0ab857a73e36489f61ad3f.tar.xz
nutyx-pakxe-eebaf8c55e05c8443d0ab857a73e36489f61ad3f.zip
kde, tous les paquets vont dans /usr
Diffstat (limited to 'kde/kdebase-workspace/Pkgfile')
-rwxr-xr-xkde/kdebase-workspace/Pkgfile34
1 files changed, 17 insertions, 17 deletions
diff --git a/kde/kdebase-workspace/Pkgfile b/kde/kdebase-workspace/Pkgfile
index b6075d29d..8f48a62e5 100755
--- a/kde/kdebase-workspace/Pkgfile
+++ b/kde/kdebase-workspace/Pkgfile
@@ -29,38 +29,38 @@ build() {
cd $name-$version
mkdir build
cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX \
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_doc=OFF
make -j3
make DESTDIR=$PKG install
cd ..
install -m644 ../{ede.desktop,lxde.desktop} \
- $PKG/$KDE_PREFIX/share/apps/kdm/sessions/
+ $PKG/usr/share/apps/kdm/sessions/
install -m755 ../Xsession.kde4 \
- $PKG/$KDE_PREFIX/share/config/kdm/Xsession
+ $PKG/usr/share/config/kdm/Xsession
chown -R 0:0 ../kdm-nutyx
cp -a ../kdm-nutyx \
- $PKG/$KDE_PREFIX/share/apps/kdm/themes/
+ $PKG/usr/share/apps/kdm/themes/
sed -i "s/AllowRootLogin=false/AllowRootLogin=true/" \
- $PKG/$KDE_PREFIX/share/config/kdm/kdmrc
+ $PKG/usr/share/config/kdm/kdmrc
sed -i "s@gnome-session@/opt/gnome/bin/gnome-session@" \
- $PKG/$KDE_PREFIX/share/apps/kdm/sessions/gnome.desktop
- sed -i "s/oxygen-air/kdm-nutyx/" $PKG/$KDE_PREFIX/share/config/kdm/kdmrc
- sed -i "s/xdm.pid/kdm.pid/" $PKG/$KDE_PREFIX/share/config/kdm/kdmrc
- sed -i "s/#Language=de_DE/Language=fr_FR/" $PKG/$KDE_PREFIX/share/config/kdm/kdmrc
+ $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
- mv $PKG/$KDE_PREFIX/share/config/kdm/kdmrc $PKG/etc/kde/kdmrc
- ln -sv /etc/kde/kdmrc $PKG/$KDE_PREFIX/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/$KDE_PREFIX/share/wallpapers
- mkdir $PKG/$KDE_PREFIX/share/wallpapers
+ rm -r $PKG/usr/share/wallpapers
+ mkdir $PKG/usr/share/wallpapers
cp -a ../Air \
- $PKG/$KDE_PREFIX/share/wallpapers/
+ $PKG/usr/share/wallpapers/
# ksplash also quite dirty
- rm -r $PKG/$KDE_PREFIX/share/apps/ksplash/Themes/Default
+ rm -r $PKG/usr/share/apps/ksplash/Themes/Default
cp -a ../Absolute-NuTyX \
- $PKG/$KDE_PREFIX/share/apps/ksplash/Themes/
+ $PKG/usr/share/apps/ksplash/Themes/
ln -sv Absolute-NuTyX \
- $PKG/$KDE_PREFIX/share/apps/ksplash/Themes/Default
+ $PKG/usr/share/apps/ksplash/Themes/Default
chown -R root:root $PKG
}