2010-06-02 03:45:06 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2012-05-09 23:53:29 +08:00
|
|
|
# maintainer abveritas@chakra-project.org
|
2010-06-01 03:21:31 +08:00
|
|
|
|
|
|
|
pkgname=qtcreator
|
2012-05-09 23:53:29 +08:00
|
|
|
pkgver=2.5.0
|
2011-12-14 13:27:15 +08:00
|
|
|
pkgrel=1
|
2012-05-09 23:53:29 +08:00
|
|
|
_qtver=4.8.1
|
2011-11-30 10:20:33 +08:00
|
|
|
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-05-09 23:53:29 +08:00
|
|
|
makedepends=('qt-private-headers>=4.8.1' 'git')
|
|
|
|
depends=('qt>=4.8.1')
|
2011-06-15 11:46:15 +08:00
|
|
|
optdepends=('qt-docs: for the integrated Qt documentation'
|
2011-09-30 03:24:36 +08:00
|
|
|
'gdb: for the debugger'
|
|
|
|
'cmake: for cmake project suppport'
|
2012-03-01 05:27:50 +08:00
|
|
|
'ksshaskpass: for ssh support'
|
2011-09-30 03:24:36 +08:00
|
|
|
'git: for git support'
|
|
|
|
'mercurial: for mercurial support'
|
|
|
|
'bzr: for bazaar support')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('programming')
|
2012-05-09 23:53:29 +08:00
|
|
|
screenshot=("http://qt.nokia.com/images/products/qt-creator-breakdown-screenshot")
|
2010-06-01 03:21:31 +08:00
|
|
|
options=(docs)
|
2011-06-15 11:46:15 +08:00
|
|
|
source=("http://get.qt.nokia.com/qtcreator/qt-creator-${pkgver}-src.tar.gz"
|
2011-11-30 10:20:33 +08:00
|
|
|
qtcreator.desktop)
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2012-05-09 23:53:29 +08:00
|
|
|
md5sums=('31e26cdd1e3eeb8c406382ebe886dcc5'
|
2011-11-30 10:20:33 +08:00
|
|
|
'457956849ca2658072a6ce4c56ed1b36')
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2010-06-01 03:21:31 +08:00
|
|
|
|
|
|
|
build() {
|
2011-11-30 10:20:33 +08:00
|
|
|
cd "${srcdir}"
|
|
|
|
[ -d build ] && rm -r build
|
2011-06-15 11:46:15 +08:00
|
|
|
mkdir build
|
|
|
|
cd build
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2011-11-30 10:20:33 +08:00
|
|
|
qmake "${srcdir}/qt-creator-${pkgver}-src/qtcreator.pro"
|
2011-12-14 13:27:15 +08:00
|
|
|
make
|
2010-10-04 10:00:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-11-30 10:20:33 +08:00
|
|
|
cd "${srcdir}/build"
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2011-11-30 10:20:33 +08:00
|
|
|
make INSTALL_ROOT="${pkgdir}/usr" install
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2011-11-30 10:20:33 +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
|
|
|
}
|
2011-11-30 10:20:33 +08:00
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|