2010-06-02 03:45:06 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
2010-06-01 03:21:31 +08:00
|
|
|
|
|
|
|
pkgname=qtcreator
|
2012-02-02 03:37:16 +08:00
|
|
|
pkgver=2.4.1
|
2011-03-06 07:08:14 +08:00
|
|
|
pkgrel=1
|
2012-02-02 03:37:16 +08:00
|
|
|
_qtver=4.8.0
|
|
|
|
pkgdesc="Lightweight, cross-platform integrated development environment."
|
2010-06-01 03:21:31 +08:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://trolltech.com/developer/qt-creator"
|
|
|
|
license=('LGPL')
|
2012-02-02 03:37:16 +08:00
|
|
|
makedepends=('qt-private-headers>=4.8.0' 'git')
|
|
|
|
depends=('qt>=4.8.0')
|
2011-09-05 05:40:54 +08:00
|
|
|
optdepends=('qt-docs: for the integrated Qt documentation'
|
2012-02-02 03:37:16 +08:00
|
|
|
'gdb: for the debugger'
|
|
|
|
'cmake: for cmake project suppport'
|
2012-03-01 05:26:34 +08:00
|
|
|
'ksshaskpass: for ssh support'
|
2012-02-02 03:37:16 +08:00
|
|
|
'git: for git support'
|
|
|
|
'mercurial: for mercurial support'
|
|
|
|
'bzr: for bazaar support')
|
2012-03-06 19:37:36 +08:00
|
|
|
categories=('programming')
|
2010-06-01 03:21:31 +08:00
|
|
|
options=(docs)
|
2011-09-05 05:40:54 +08:00
|
|
|
source=("http://get.qt.nokia.com/qtcreator/qt-creator-${pkgver}-src.tar.gz"
|
2012-02-02 03:37:16 +08:00
|
|
|
qtcreator.desktop)
|
|
|
|
|
|
|
|
md5sums=('e3a95b86df5ce9151b40cfbb2b8bbf3b'
|
|
|
|
'457956849ca2658072a6ce4c56ed1b36')
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2010-06-01 03:21:31 +08:00
|
|
|
|
|
|
|
build() {
|
2012-02-02 03:37:16 +08:00
|
|
|
cd "${srcdir}"
|
|
|
|
[ -d build ] && rm -r build
|
|
|
|
mkdir build
|
|
|
|
cd build
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2012-02-02 03:37:16 +08:00
|
|
|
qmake "${srcdir}/qt-creator-${pkgver}-src/qtcreator.pro"
|
|
|
|
make
|
2010-10-04 10:00:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2012-02-02 03:37:16 +08:00
|
|
|
cd "${srcdir}/build"
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2012-02-02 03:37:16 +08:00
|
|
|
make INSTALL_ROOT="${pkgdir}/usr" install
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2012-02-02 03:37:16 +08:00
|
|
|
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"
|
2010-06-01 03:21:31 +08:00
|
|
|
}
|
|
|
|
|
2012-02-02 03:37:16 +08:00
|
|
|
# vim:set ts=2 sw=2 et:
|