diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-09-30 01:00:23 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-09-30 01:00:23 +0200 |
commit | aebf0a08c92abe8a7ae4fda812def246b1bf0266 (patch) | |
tree | d9cda860a25e94fbe9cd92897aa306e4033f2784 /kde3/kdebase3/Pkgfile | |
parent | 2cca2f0b13750835aa49dd4ec4f1be7d9d11c171 (diff) | |
download | nutyx-extra-aebf0a08c92abe8a7ae4fda812def246b1bf0266.tar.gz nutyx-extra-aebf0a08c92abe8a7ae4fda812def246b1bf0266.tar.bz2 nutyx-extra-aebf0a08c92abe8a7ae4fda812def246b1bf0266.tar.xz nutyx-extra-aebf0a08c92abe8a7ae4fda812def246b1bf0266.zip |
ajout de kdebase3#3.5.10-1
Diffstat (limited to 'kde3/kdebase3/Pkgfile')
-rw-r--r-- | kde3/kdebase3/Pkgfile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/kde3/kdebase3/Pkgfile b/kde3/kdebase3/Pkgfile new file mode 100644 index 000000000..5577f498e --- /dev/null +++ b/kde3/kdebase3/Pkgfile @@ -0,0 +1,46 @@ +# Description: Applications de base pour KDE 3 +# URL: http://www.kde.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: kdelibs3, dbus-qt3, dbus-qt3, libidn, hal, fox, xfe, mtools, cyrus-sasl, samba3, arts, xorg-xprop, xorg-iceauth + +name=kdebase3 +version=3.5.10 +release=1 +source=(http://mirrors.isc.org/pub/kde/stable/3.5.10/src/kdebase-$version.tar.bz2 \ + kdebase-3.5.10-gcc44-1.patch \ + kdebase-3.5.10-crypto-1.patch kdm Xsession ede.desktop lxde.desktop) +build() { + cd kdebase-$version + patch -Np1 -i ../kdebase-3.5.10-gcc44-1.patch + patch -Np1 -i ../kdebase-3.5.10-crypto-1.patch + ./configure --prefix=/opt/kde \ + --sysconfdir=/etc/kde3 \ + --disable-debug \ + --disable-dependency-tracking \ + --enable-new-ldflags LDFLAGS="${LDFLAGS} -L/opt/kde/lib" \ + --enable-final + make + make DESTDIR=$PKG GENKDMCONF_FLAGS="--no-old" install + mkdir -p $PKG/etc/profile.d/ + cat > $PKG/etc/profile.d/kde3.sh << "EOF" +XDG_DATA_DIRS=/opt/kde/share:/usr/local/share:/usr/share +XDG_CONFIG_DIRS=/etc/kde3/xdg:/etc/xdg +export XDG_DATA_DIRS XDG_CONFIG_DIRS +EOF +# rm -rf $PKG/$KDE3_PREFIX/share/doc + mkdir -v -p $PKG/etc/rc.d/init.d + mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d + install -m755 ../kdm $PKG/etc/rc.d/init.d/ + install -m755 ../Xsession $PKG/opt/kde/share/config/kdm/ + install -m644 ../{ede.desktop,lxde.desktop} $PKG/opt/kde/share/apps/kdm/sessions/ + ln -svf ../init.d/kdm $PKG/etc/rc.d/rc3.d/S40kdm + ln -svf ../init.d/kdm $PKG/etc/rc.d/rc5.d/K10kdm + 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 + sed -i "s/AllowRootLogin/#\ AllowRootLogin/" $PKG/opt/kde/share/config/kdm/kdmrc + sed -i "s@gnome-session@/usr/bin/gnome-session@" $PKG/opt/kde/share/apps/kdm/sessions/gnome.desktop +} + |