summaryrefslogtreecommitdiff
path: root/community/kgraphviewer/PKGBUILD
blob: 4667eb2a81ae3da1ff8bbfef7046951ff9d4bfa1 (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
# $Id: PKGBUILD 32581 2010-11-14 21:49:18Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=kgraphviewer
pkgver=2.1.1
pkgrel=1
pkgdesc="A Graphviz dot graph file viewer for KDE"
arch=('i686' 'x86_64' 'mips64el')
url='http://opendesktop.org/content/show.php?content=23999'
license=('GPL' 'FDL')
depends=('kdebase-runtime' 'kdepimlibs' 'graphviz')
makedepends=('cmake' 'automoc4' 'boost' 'docbook-xsl')
install="${pkgname}.install"
source=("https://api.opensuse.org/public/source/home:milianw:kdeapps/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('6cc548221d8a741d13929993615c00f3')

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
}