summaryrefslogtreecommitdiff
path: root/community/ktikz/PKGBUILD
blob: b28b2e0ecd8da175743ee5d6161c5da8135a6c7d (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
# Maintainer: Peter Lewis <plewis@aur.archlinux.org>
# Contributor: linuxSEAT <--put_my_name_here--@gmail.com>
# Contributor: Le_J <clej37 at gmail dot com>

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' 'mips64el')
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
}