# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa pkgname=qtcreator pkgver=2.4.0 pkgrel=1 _qtver=4.7.4 pkgdesc="Lightweight, cross-platform integrated development environment." arch=('i686' 'x86_64') url="http://trolltech.com/developer/qt-creator" license=('LGPL') makedepends=('qt-private-headers>=4.7.4' 'git') depends=('qt>=4.7.4') optdepends=('qt-docs: for the integrated Qt documentation' 'gdb: for the debugger' 'qt-doc: for the integrated Qt documentation' 'cmake: for cmake project suppport' 'openssh-askpass: for ssh support' 'git: for git support' 'mercurial: for mercurial support' 'bzr: for bazaar support') options=(docs) source=("http://get.qt.nokia.com/qtcreator/qt-creator-${pkgver}-src.tar.gz" qtcreator.desktop) md5sums=('80c1a2be4c685ce147c42424ad977e1a' '457956849ca2658072a6ce4c56ed1b36') build() { cd "${srcdir}" [ -d build ] && rm -r build mkdir build cd build qmake "${srcdir}/qt-creator-${pkgver}-src/qtcreator.pro" make } package() { cd "${srcdir}/build" make INSTALL_ROOT="${pkgdir}/usr" install install -Dm644 "${srcdir}/qtcreator.desktop" \ "${pkgdir}/usr/share/applications/qtcreator.desktop" install -Dm644 "${srcdir}/qt-creator-${pkgver}-src/LGPL_EXCEPTION.TXT" \ "${pkgdir}/usr/share/licenses/qtcreator/LGPL_EXCEPTION.TXT" } # vim:set ts=2 sw=2 et: