pkgname=krusader pkgver=2.4.0beta3 _pkgver=2.4.0-beta3 pkgrel=3 pkgdesc="An alternative file manager for KDE resembling Midnight Commander" url="http://krusader.sourceforge.net/" arch=('x86_64') license=('GPL') depends=('kde-runtime' 'ark') makedepends=('cmake' 'automoc4' 'docbook-xsl') categories=('system') screenshot=('http://www.krusader.org/static/img/slideshow/krusader-twinpanel-thumb.png') install=${pkgname}.install source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$_pkgver.tar.bz2") md5sums=('62a02db3f213bb76805ca6c958e9e263') build() { cd $pkgname-$_pkgver mkdir build cd build cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $pkgname-$_pkgver/build make DESTDIR=$pkgdir install }