!/bin/bash
# Make and change to directory:
mkdir kde-src && cd kde-src/
# Downloading the KDE Sources:
wget http://download.kde.org/stable/3.5.3/src/kdelibs-3.5.3.tar.bz2
wget http://download.kde.org/stable/3.5.3/src/kdebase-3.5.3.tar.bz2
wget http://download.kde.org/stable/3.5.3/src/kdegraphics-3.5.3.tar.bz2
wget http://download.kde.org/stable/3.5.3/src/kdeadmin-3.5.3.tar.bz2
wget http://download.kde.org/stable/3.5.3/src/kdeaddons-3.5.3.tar.bz2
wget http://download.kde.org/stable/3.5.3/src/arts-1.5.3.tar.bz2
# Cd Make && Continue
cd kdelibs-3.5.3 && ./configure && make && checkinstall
cd kdebase-3.5.3 && ./configure && make && checkinstall
cd kdegraphics-3.5.3 && ./configure && make && checkinstall
cd kdeadmin-3.5.3 && ./configure && make && checkinstall
cd kdeaddons-3.5.3 && ./configure && make && checkinstall
cd arts-1.5.3 && ./configure && make && checkinstall
# CD Up & Move Pkgs
cd .. && mkdir kdepkgs && kde-src/
cd kdelibs-3.5.3 && mv *.tgz ../kdepkgs/
cd kdebase-3.5.3 && mv *.tgz ../kdepkgs/
cd kdegraphics-3.5.3 && mv *.tgz ../kdepkgs/
cd kdeadmin-3.5.3 && mv *.tgz ../kdepkgs/
cd kdeaddons-3.5.3 && mv *.tgz ../kdepkgs/
cd arts-1.5.3 && mv *.tgz ../kdepkgs/
# Delete Old Shit
cd rm -rfi *
# Exit All Shit
exit