summaryrefslogtreecommitdiffstats
path: root/qtcreator/Pkgfile
blob: 7053720c7650df8330d3e12fefb82b55a5d33f17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: IDE légère pour le développement multiplatforme basé sur qt
# URL: http://qt.nokia.com/products/developer-tools
# Maintainer: NuTyX core team
# Packager: tnut at nutyx dot com
# Depends on: qt
# Run on: qt

name=qtcreator
version=2.3.1
release=1
source=(http://get.qt.nokia.com/$name/qt-creator-${version}-src.tar.gz)
build() {
	mkdir build && cd build
	qmake ../qt-creator-${version}-src/qtcreator.pro
	make INSTALL_ROOT=$PKG/usr/ install
	mkdir -p $PKG/usr/share/applications
cat > $PKG/usr/share/applications/qtcreator.desktop << "EOF"
[Desktop Entry]
Encoding=UTF-8
Exec=/usr/bin/qtcreator
Name=Qt-Creator
GenericName=C++ IDE
Name[fr]=Environnement de développement basé sur qt
GenericName[fr]=Environnement de développement pour C++
X-KDE-StartupNotify=true
Icon=/usr/share/icons/hicolor/128x128/apps/qtcreator.png
Terminal=false
Type=Application
Categories=Qt;Development
EOF
}