diff options
Diffstat (limited to 'community/kgraphviewer')
-rw-r--r-- | community/kgraphviewer/PKGBUILD | 33 | ||||
-rw-r--r-- | community/kgraphviewer/kgraphviewer.install | 11 |
2 files changed, 44 insertions, 0 deletions
diff --git a/community/kgraphviewer/PKGBUILD b/community/kgraphviewer/PKGBUILD new file mode 100644 index 000000000..e40108382 --- /dev/null +++ b/community/kgraphviewer/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 57923 2011-11-04 14:25:20Z lcarlier $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=kgraphviewer +pkgver=2.1.1 +pkgrel=3 +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 +} diff --git a/community/kgraphviewer/kgraphviewer.install b/community/kgraphviewer/kgraphviewer.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/community/kgraphviewer/kgraphviewer.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |