desktop/qtcreator/PKGBUILD

52 lines
1.8 KiB
Bash
Raw Normal View History

2014-02-06 22:21:49 +08:00
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
2010-06-01 03:21:31 +08:00
pkgname=qtcreator
2014-05-04 20:22:34 +08:00
pkgver=3.1.0
2014-05-19 22:44:08 +08:00
pkgrel=3
pkgdesc="Lightweight, cross-platform integrated development environment."
2012-12-31 04:23:09 +08:00
arch=('x86_64')
url="http://qt.digia.com/"
2010-06-01 03:21:31 +08:00
license=('LGPL')
2014-05-19 22:44:08 +08:00
makedepends=('qt5-private-headers' 'qt5-base' 'git' 'mesa' 'clang')
depends=('qt5-tools' 'qt5-quick1' 'qt5-quickcontrols')
optdepends=('qt-docs: for the integrated Qt documentation'
2011-09-30 03:24:36 +08:00
'gdb: for the debugger'
'cmake: for cmake project suppport'
2012-03-01 05:27:50 +08:00
'ksshaskpass: for ssh support'
2011-09-30 03:24:36 +08:00
'git: for git support'
'mercurial: for mercurial support'
2013-05-28 02:51:52 +08:00
'bzr: for bazaar support'
'valgrind: for analyze support')
categories=('programming')
2012-05-09 23:53:29 +08:00
screenshot=("http://qt.nokia.com/images/products/qt-creator-breakdown-screenshot")
2010-06-01 03:21:31 +08:00
options=(docs)
2014-05-04 20:22:34 +08:00
#source=("http://download.qt-project.org/official_releases/qtcreator/3.1/${pkgver}/qt-creator-opensource-src${pkgver}-src.tar.gz"
source=("http://ftp.fau.de/qtproject/official_releases/${pkgname}/3.1/${pkgver}/qt-creator-opensource-src-${pkgver}.tar.gz"
2012-12-31 04:23:09 +08:00
'qtcreator.desktop')
2014-05-04 20:22:34 +08:00
sha256sums=('c8c648f4988b707393e0f1958a8868718f27e59263f05f3b6599fa62290c2bbf'
2013-07-13 23:14:58 +08:00
'1f70efa02ea457a4df21243d3e8d68b6c66ad194400beb1f26f954536d4e7c90')
2010-06-01 03:21:31 +08:00
build() {
cd "${srcdir}"
[ -d build ] && rm -r build
mkdir build
cd build
2010-10-04 10:00:59 +08:00
2014-05-19 22:44:08 +08:00
qmake-qt5 "${srcdir}/qt-creator-opensource-src-${pkgver}/qtcreator.pro"
2013-05-28 02:51:52 +08:00
make
make docs -j1
2010-10-04 10:00:59 +08:00
}
package() {
cd "${srcdir}/build"
2010-10-04 10:00:59 +08:00
make INSTALL_ROOT="${pkgdir}/usr" install
2013-05-28 02:51:52 +08:00
make INSTALL_ROOT="${pkgdir}/usr/" install_docs
2010-10-04 10:00:59 +08:00
install -Dm644 "${srcdir}/qtcreator.desktop" \
"${pkgdir}/usr/share/applications/qtcreator.desktop"
2013-12-13 04:35:55 +08:00
install -Dm644 "${srcdir}/qt-creator-opensource-src-${pkgver}/LGPL_EXCEPTION.TXT" \
"${pkgdir}/usr/share/licenses/qtcreator/LGPL_EXCEPTION.TXT"
2010-06-01 03:21:31 +08:00
}