updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / qtikz / PKGBUILD
blob7043dd396adf738533c8bc5977a2b585850ebf02
1 # Maintainer: linuxSEAT <--put_my_name_here--@gmail.com>
2 # Contributor: Le_J <clej37 at gmail dot com>
4 pkgname=qtikz
5 pkgver=0.10
6 pkgrel=1
7 pkgdesc="A small application helping you to create TikZ diagrams (from the LaTeX pgf package)"
8 arch=('i686' 'x86_64')
9 url="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/"
10 license="GPL"
11 depends=('poppler-qt' 'shared-mime-info')
12 provides=('ktikz')
13 conflicts=('ktikz')
14 install=${pkgname}.install
15 source=("http://www.hackenberger.at/ktikz/ktikz_${pkgver}.tar.gz")
16 md5sums=('e8f0826cba2447250bcdcd389a71a2ac')
18 build() {
19     cd $srcdir/ktikz
20     
21     sed -i 's/lrelease-qt4/lrelease/g' conf.pri || return 1
22     qmake PREFIX=/usr || return 1
23     make || return 1
24     make INSTALL_ROOT="$pkgdir" install || return 1