desktop/qtcreator/PKGBUILD

48 lines
1.3 KiB
Bash
Raw Normal View History

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
2011-05-09 23:32:10 +08:00
pkgver=2.2.0
pkgrel=2
_qtver=4.7.3
2010-06-01 03:21:31 +08:00
pkgdesc="Lightweight, cross-platform integrated development environment"
arch=('i686' 'x86_64')
url="http://trolltech.com/developer/qt-creator"
license=('LGPL')
makedepends=('qt-private-headers>=4.7.3')
depends=('qt>=4.7.3')
optdepends=('qt-docs: for the integrated Qt documentation'
2010-06-01 03:21:31 +08:00
'gdb: for the debugger')
options=(docs)
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"
2010-10-04 10:00:59 +08:00
qtcreator.desktop)
md5sums=('4e02382db7b850f3a3b20c6a8707269e'
#'66b992f5c21145df08c99d21847f4fdb'
2010-10-04 10:00:59 +08:00
'2c3ffbd66845b37be9804f2966815a10')
2010-06-01 03:21:31 +08:00
build() {
cd ${srcdir}
mkdir build
cd build
2010-10-04 10:00:59 +08:00
qmake ${srcdir}/qt-creator-${pkgver}-src/qtcreator.pro
make --quiet
2010-10-04 10:00:59 +08:00
}
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
2010-06-01 03:21:31 +08:00
}