# $Id: $ # Maintainer: Pierre Schmitz pkgname=kgraphviewer pkgver=2.0.2 _kdever=4.2.4 pkgrel=3 pkgdesc="A Graphviz dot graph file viewer for KDE" arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'FDL') groups=('kde-extragear') depends=('kdebase-runtime' 'graphviz') makedepends=('pkgconfig' 'cmake' 'automoc4') options=('docs') install='kgraphviewer.install' source=("http://download.kde.org/stable/${_kdever}/src/extragear/${pkgname}-${pkgver}-kde${_kdever}.tar.bz2") md5sums=('c6d43e0c6905f139a882f12fc022ce4e') build() { cd $srcdir mkdir build cd build cmake ../${pkgname}-${pkgver}-kde${_kdever} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make make DESTDIR=$pkgdir install }