1 # Maintainer: m0rph (m0rph.mailbox@gmail.com)
3 pkgname="qtcreator-patched"
6 pkgdesc='QtCreator with separated POD-type highlighting'
8 url='http://qt.nokia.com/products/developer-tools'
11 makedepends=('qt-private-headers>=4.7.4' 'git')
12 provides=('qtcreator')
13 conflicts=('qtcreator')
15 source=("http://get.qt.nokia.com/qtcreator/qt-creator-${pkgver}-src.tar.gz"
16 'add_pod_highlighting.patch'
18 md5sums=('80c1a2be4c685ce147c42424ad977e1a'
19 '573280911756724597ddce2f6ac18263'
20 'f1f4680b9838ff0b8f4cf11eb850d662')
23 cd ${srcdir}/qt-creator-${pkgver}-src/
27 patch -p3 -i ../add_pod_highlighting.patch
29 [[ -d build ]] && rm -r build
30 mkdir build && cd build
32 qmake ${srcdir}/qt-creator-${pkgver}-src/qtcreator.pro
37 optdepends=('qt-doc: for the integrated Qt documentation'
38 'gdb: for the debugger'
39 'cmake: for cmake project suppport'
40 'openssh-askpass: for ssh support'
41 'git: for git support'
42 'mercurial: for mercurial support'
43 'bzr: for bazaar support')
45 cd ${srcdir}/qt-creator-${pkgver}-src/build
47 make INSTALL_ROOT="${pkgdir}/usr/" install
49 install -Dm644 ${srcdir}/qtcreator.desktop \
50 ${pkgdir}/usr/share/applications/qtcreator.desktop
51 install -Dm644 ${srcdir}/qt-creator-${pkgver}-src/LGPL_EXCEPTION.TXT \
52 ${pkgdir}/usr/share/licenses/qtcreator/LGPL_EXCEPTION.TXT