summaryrefslogtreecommitdiff
path: root/community-testing/qtcreator/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/qtcreator/PKGBUILD')
-rw-r--r--community-testing/qtcreator/PKGBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/community-testing/qtcreator/PKGBUILD b/community-testing/qtcreator/PKGBUILD
new file mode 100644
index 000000000..e0af9d0c7
--- /dev/null
+++ b/community-testing/qtcreator/PKGBUILD
@@ -0,0 +1,53 @@
+# $Id: PKGBUILD 76389 2012-09-17 08:13:07Z svenstaro $
+# Maintainer: Imanol Celaya <ornitorrincos@archlinux-es.org>
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+# Contributor: Dan Vratil <progdan@progdansoft.com>
+# Contributor: thotypous <matiasΘarchlinux-br·org>
+# Contributor: delor <bartekpiech gmail com>
+
+pkgname="qtcreator"
+pkgver=2.6.0beta
+_pkgver=2.6.0-beta
+pkgrel=1
+pkgdesc='Lightweight, cross-platform integrated development environment'
+arch=('i686' 'x86_64')
+url='http://qt.nokia.com/products/developer-tools'
+license=('LGPL')
+depends=('qt')
+makedepends=('qt-private-headers' 'git')
+options=('docs')
+optdepends=('qt-doc: for the integrated Qt documentation'
+ 'gdb: for the debugger'
+ 'cmake: for cmake project suppport'
+ 'openssh-askpass: for ssh support'
+ 'git: for git support'
+ 'mercurial: for mercurial support'
+ 'bzr: for bazaar support'
+ 'valgrind: for analyze support')
+install=qtcreator.install
+source=("http://origin.releases.qt-project.org/qtcreator/${_pkgver}/qt-creator-${_pkgver}-src.tar.gz"
+ 'qtcreator.desktop')
+md5sums=('ea7c9a94369b6424e98b442a14145bc9'
+ 'f1f4680b9838ff0b8f4cf11eb850d662')
+
+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
+}