PKGBUILDs/extra/krusader/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
833 B
Bash

# $Id: PKGBUILD 49204 2009-08-04 19:52:03Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
pkgname=krusader
pkgver=2.0.0
pkgrel=3
pkgdesc="An alternative file manager for KDE resembling Midnight Commander"
url="http://krusader.sourceforge.net/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('kdebase-runtime')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
'gcc4.4.patch')
md5sums=('f80f500a136d549739ad5d4bcab7fa5f'
'24c47d5cb967f81e3f90576093163f1e')
build() {
cd ${srcdir}
patch -Np0 -i gcc4.4.patch
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install
}