Krusader is developed as part of KDE Extragear. You can fetch the source from the KDE git repository.
Checkout (Anonymous)
$ git clone git://anongit.kde.org/krusader
Checkout (Developer)
$ git clone git@git.kde.org:krusader.git
Note: Refer to the GitKdeOrgManual for details.
Installation
$ cd krusader
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/
$ make
$ su -c "make install"
Note: On a multi cpu/core system you might want to speed up the compile process by increasing the number of jobs (e.g. "make -j4").
Localization
Due to the layout of KDE's repository, translations aren't part of the checkout. If you just want to install a specific translation you can do so with a few more commands.
$ wget http://websvn.kde.org/*checkout*/trunk/l10n-kde4/xx/messages/extragear-utils/krusader.po
$ msgfmt krusader.po -o krusader.mo
$ su -c "cp krusader.mo /usr/share/locale/de/LC_MESSAGES/"
Note: Replace xx in the wget command with a language code (e.g. de). Refer to the l10n.kde.org for a list of available language codes.
Building a git snasphot with translations
In order to build a snapshot which includes translations, KDE's releaseme script can be used. Here's how it works:
$ git clone git://anongit.kde.org/releaseme
$ cd releaseme
$ ./krusader.rb --git-branch master --version git`date +%Y%m%d`
Note: You need to have ruby installed to the run the script.
The script will create a tarball in the same directory with can be installed as usual:
$ tar xjvf krusader-git`date +%Y%m%d`.tar.bz2
$ cd krusader-git`date +%Y%m%d`
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/
$ make
$ su -c "make install"