summaryrefslogtreecommitdiff
path: root/community/qtcreator/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qtcreator/PKGBUILD')
-rw-r--r--community/qtcreator/PKGBUILD30
1 files changed, 17 insertions, 13 deletions
diff --git a/community/qtcreator/PKGBUILD b/community/qtcreator/PKGBUILD
index 4e24a084b..7a4bf4878 100644
--- a/community/qtcreator/PKGBUILD
+++ b/community/qtcreator/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 83450 2013-02-01 10:16:55Z svenstaro $
+# $Id: PKGBUILD 85401 2013-03-01 10:39:04Z andrea $
# Maintainer: Imanol Celaya <ornitorrincos@archlinux-es.org>
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
@@ -6,44 +6,48 @@
# Contributor: thotypous <matiasΘarchlinux-br·org>
# Contributor: delor <bartekpiech gmail com>
-pkgname="qtcreator"
+pkgname=qtcreator
pkgver=2.6.2
_pkgver=2.6.2
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight, cross-platform integrated development environment'
arch=('i686' 'x86_64' 'mips64el')
url='http://qt-project.org'
license=('LGPL')
-depends=('qt')
-makedepends=('qt-private-headers' 'git')
+depends=('qt5-quick1' 'qt5-tools')
+makedepends=('git')
options=('docs')
-optdepends=('qt-doc: for the integrated Qt documentation'
+optdepends=('qt5-doc: for the integrated Qt documentation'
'gdb: for the debugger'
- 'cmake: for cmake project suppport'
+ 'cmake: for cmake project support'
'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')
+source=("http://releases.qt-project.org/qtcreator/${_pkgver}/qt-creator-${_pkgver}-src.tar.gz"
+ 'qtcreator.desktop'
+ 'fix-build.patch')
md5sums=('4700deb89e8cf92239015d7d70f0dcdd'
- '82888d4be900e7833d768050a135cd37')
+ '82888d4be900e7833d768050a135cd37'
+ '4087c00d853addf97ca329d304e9a0a5')
build() {
- cd ${srcdir}
+ cd qt-creator-${_pkgver}-src
+ patch -p1 -i "${srcdir}"/fix-build.patch
+ cd ../
[[ -d build ]] && rm -r build
mkdir build && cd build
- qmake ${srcdir}/qt-creator-${_pkgver}-src/qtcreator.pro
+ qmake ../qt-creator-${_pkgver}-src/qtcreator.pro
make
make docs -j1
}
package() {
- cd ${srcdir}/build
+ cd build
make INSTALL_ROOT="${pkgdir}/usr/" install
make INSTALL_ROOT="${pkgdir}/usr/" install_docs