summaryrefslogtreecommitdiff
path: root/community/kgraphviewer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kgraphviewer/PKGBUILD')
-rw-r--r--community/kgraphviewer/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/kgraphviewer/PKGBUILD b/community/kgraphviewer/PKGBUILD
new file mode 100644
index 000000000..916b5282d
--- /dev/null
+++ b/community/kgraphviewer/PKGBUILD
@@ -0,0 +1,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')
+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
+}