desktop/qtcreator/PKGBUILD

46 lines
1.2 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-06-21 23:29:57 +08:00
pkgver=2.2.1
pkgrel=1
_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"
2011-06-21 23:29:57 +08:00
qtcreator.desktop)
2010-10-04 10:00:59 +08:00
2011-06-21 23:29:57 +08:00
md5sums=('35d74837e48b12ee58379e1c029a9a6c'
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
}