summaryrefslogtreecommitdiff
path: root/extra/krusader/PKGBUILD
blob: 67e8615eae57d21456919ac87ba2c284d8ab1a04 (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
37
38
39
40
# $Id: PKGBUILD 111906 2011-03-01 18:29:55Z 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.3.0beta1
_pkgver=2.3.0-beta1
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')
makedepends=('cmake' 'automoc4' 'docbook-xsl')
optdepends=("kdebase-keditbookmarks: to edit bookmarks")
install=${pkgname}.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2"
        'add-xz-support.patch')
md5sums=('3ef55648a2589a9a919d463acec3b830'
        'a350bc90646bd16cc4219aa30a4d1fc6')

build() {
  cd ${srcdir}/${pkgname}-${_pkgver}
  patch -Np1 -i ${srcdir}/add-xz-support.patch

  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
}