summaryrefslogtreecommitdiff
path: root/extra/krusader/PKGBUILD
blob: ebf3c861f6d8bc469ba85367fb763fcef59efe67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 129545 2011-06-28 19:04:18Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>

pkgname=krusader
pkgver=2.4.0beta1
_pkgver=2.4.0-beta1
pkgrel=3
pkgdesc="An alternative file manager for KDE resembling Midnight Commander"
arch=('i686' 'x86_64' 'mips64el')
url="http://krusader.sourceforge.net/"
license=('GPL')
depends=('kdebase-runtime' 'kdebase-lib')
makedepends=('cmake' 'automoc4' 'docbook-xsl' 'kdeutils-ark')
optdepends=("kdebase-keditbookmarks: to edit bookmarks"
            "kdeutils-ark: extract archive with right-click")
install=krusader.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2")
md5sums=('d2340718d05d69e7f2a7f0846471ee12')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${_pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
}