qtcreator rebuild, trying to fix qt-doc issue

This commit is contained in:
Anke 2011-06-15 03:46:15 +00:00
parent 2816432400
commit a9e430194e

View File

@ -6,40 +6,33 @@
pkgname=qtcreator
pkgver=2.2.0
pkgrel=1
_qtver=4.7.2
pkgrel=2
_qtver=4.7.3
pkgdesc="Lightweight, cross-platform integrated development environment"
arch=('i686' 'x86_64')
url="http://trolltech.com/developer/qt-creator"
license=('LGPL')
makedepends=()
depends=('qt>=4.7.')
optdepends=('qt-doc: for the integrated Qt documentation'
makedepends=('qt-private-headers>=4.7.3')
depends=('qt>=4.7.3')
optdepends=('qt-docs: for the integrated Qt documentation'
'gdb: for the debugger')
options=(docs)
source=("http://get.qt.nokia.com/qtcreator/qt-creator-${pkgver}-src.zip"
"ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${_qtver}.tar.gz"
source=("http://get.qt.nokia.com/qtcreator/qt-creator-${pkgver}-src.tar.gz"
#"ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${_qtver}.tar.gz"
qtcreator.desktop)
md5sums=('cc16de5357516c513d07a4a4fcdc533a'
'66b992f5c21145df08c99d21847f4fdb'
md5sums=('4e02382db7b850f3a3b20c6a8707269e'
#'66b992f5c21145df08c99d21847f4fdb'
'2c3ffbd66845b37be9804f2966815a10')
build() {
export QTDIR="${srcdir}/qt-everywhere-opensource-src-${_qtver}"
export QTCREATOR_WITH_QML=1
if [ -d ${srcdir}/build ]; then
rm -rf ${srcdir}/build
fi
mkdir ${srcdir}/build
cd ${srcdir}/build
cd ${srcdir}
mkdir build
cd build
qmake ${srcdir}/qt-creator-${pkgver}-src/qtcreator.pro
make
make --quiet
}
package() {
@ -52,6 +45,3 @@ package() {
install -Dm644 ${srcdir}/qt-creator-${pkgver}-src/LGPL_EXCEPTION.TXT \
${pkgdir}/usr/share/licenses/qtcreator/LGPL_EXCEPTION.TXT
}