2009-12-29 23:17:58 +01:00
|
|
|
# Template file for 'qt-devel-tools'.
|
|
|
|
#
|
|
|
|
short_desc="Qt development tools"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This packages contains tools used to assist in Qt development, including
|
|
|
|
the Qt Assistant, Linguist, D-Bus Viewer and Pixel Tool applications. "
|
|
|
|
|
|
|
|
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
|
|
|
|
2010-10-29 10:04:49 +02:00
|
|
|
Add_dependency run libgcc
|
2010-01-12 11:33:17 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libstdc++
|
2009-12-29 23:17:58 +01:00
|
|
|
Add_dependency run hicolor-icon-theme
|
|
|
|
Add_dependency run qt
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-01-05 23:13:52 +01:00
|
|
|
mkdir -p ${DESTDIR}/usr/bin
|
2009-12-29 23:17:58 +01:00
|
|
|
for f in assistant* lconvert linguist pixeltool qcollectiongenerator \
|
2010-12-04 09:56:30 +01:00
|
|
|
qdbusviewer qhelp* xmlpatterns* qdbus qttrace* qdoc3 \
|
|
|
|
qmlviewer; do
|
2011-05-02 23:38:09 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/${f} ${DESTDIR}/usr/bin
|
2009-12-29 23:17:58 +01:00
|
|
|
done
|
|
|
|
mkdir -p ${DESTDIR}/usr/lib
|
|
|
|
mkdir -p ${DESTDIR}/usr/share/applications
|
|
|
|
mkdir -p ${DESTDIR}/usr/share/pixmaps
|
|
|
|
mkdir -p ${DESTDIR}/usr/share/icons
|
|
|
|
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/icons/hicolor \
|
2011-05-02 23:38:09 +02:00
|
|
|
${DESTDIR}/usr/share/icons
|
2009-12-29 23:17:58 +01:00
|
|
|
for f in linguist assistant; do
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/applications/${f}.desktop \
|
2011-05-02 23:38:09 +02:00
|
|
|
${DESTDIR}/usr/share/applications
|
2009-12-29 23:17:58 +01:00
|
|
|
[ ! -f ${SRCPKGDESTDIR}/usr/share/pixmaps/${f}.png ] && continue
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/pixmaps/${f}.png \
|
2011-05-02 23:38:09 +02:00
|
|
|
${DESTDIR}/usr/share/pixmaps
|
2009-12-29 23:17:58 +01:00
|
|
|
done
|
2010-01-05 23:13:52 +01:00
|
|
|
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/qt/translations \
|
2011-05-02 23:38:09 +02:00
|
|
|
${DESTDIR}/usr/share/qt
|
2009-12-29 23:17:58 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/qt/phrasebooks \
|
2011-05-02 23:38:09 +02:00
|
|
|
${DESTDIR}/usr/share/qt
|
2009-12-29 23:17:58 +01:00
|
|
|
}
|