From aad2fba0fc475162b566f1577d8e7a020cd9e80d Mon Sep 17 00:00:00 2001 From: root Date: Sun, 20 May 2012 00:04:49 +0000 Subject: Sun May 20 00:04:49 UTC 2012 --- community-staging/ktikz/PKGBUILD | 27 +++++++++++++++++++++++++++ community-staging/ktikz/ktikz.install | 14 ++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 community-staging/ktikz/PKGBUILD create mode 100644 community-staging/ktikz/ktikz.install (limited to 'community-staging') diff --git a/community-staging/ktikz/PKGBUILD b/community-staging/ktikz/PKGBUILD new file mode 100644 index 000000000..d20dfbdcb --- /dev/null +++ b/community-staging/ktikz/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Peter Lewis +# Contributor: linuxSEAT <--put_my_name_here--@gmail.com> +# Contributor: Le_J + +pkgname=ktikz +pkgver=0.10 +pkgrel=4 +pkgdesc="A small application helping you to create TikZ diagrams (from the LaTeX pgf package)" +arch=('i686' 'x86_64') +url="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/" +license=("GPL") +depends=('poppler-qt' 'kdelibs') +makedepends=('automoc4' 'cmake' 'docbook-xml') +source=("http://www.hackenberger.at/ktikz/"$pkgname"_"$pkgver".tar.gz") +md5sums=('e8f0826cba2447250bcdcd389a71a2ac') + +build() { + cd "$srcdir"/"$pkgname" + + cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` + make +} + +package() { + cd "$srcdir"/"$pkgname" + make DESTDIR="$pkgdir" install +} diff --git a/community-staging/ktikz/ktikz.install b/community-staging/ktikz/ktikz.install new file mode 100644 index 000000000..210d1ac2b --- /dev/null +++ b/community-staging/ktikz/ktikz.install @@ -0,0 +1,14 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor > /dev/null + update-mime-database /usr/share/mime > /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf