1 # Contributor: Thomas Jost <thomas.jost@gmail.com>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
7 pkgdesc="A small application helping you to create TikZ diagrams (from the LaTeX pgf package)"
9 url="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/"
11 depends=('poppler-qt')
12 makedepends=('texlive-core')
13 conflicts=('ktikz' 'ktikz-svn')
15 makedepends=('subversion')
19 _svntrunk=svn://hackenberger.at/svnroot/ktikz/trunk
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 msg "SVN checkout done or server timeout"
32 msg "Starting make..."
33 rm -rf $srcdir/$_svnmod-build
34 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
37 sed -i 's#-qt4##' qtikzconfig.pri
38 [ -d buildqt ] || mkdir buildqt
40 qmake ../qtikz.pro PREFIX=/usr
46 make INSTALL_ROOT=$pkgdir install