void-packages/srcpkgs/qt/qt-designer.template

34 lines
994 B
Plaintext
Raw Normal View History

# Template file for 'qt-designer'.
#
depends="hicolor-icon-theme"
short_desc="Qt GUI designer"
long_desc="${long_desc}
Qt Designer is a tool for designing and building graphical user
interfaces (GUIs) from Qt components."
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/qt/plugins \
${DESTDIR}/usr/bin \
${DESTDIR}/usr/share/icons/hicolor/128x128/apps \
${DESTDIR}/usr/share/applications \
${DESTDIR}/usr/share/qt/translations
2011-05-02 23:38:09 +02:00
mv ${SRCPKGDESTDIR}/usr/bin/designer ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/lib/libQtDesigner.so* \
2011-05-02 23:38:09 +02:00
${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libQtDesignerComponents.so* \
2011-05-02 23:38:09 +02:00
${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/qt/plugins/designer \
2011-05-02 23:38:09 +02:00
${DESTDIR}/usr/lib/qt/plugins
for d in /usr/share/icons/hicolor/128x128/apps \
/usr/share/applications; do
2011-05-02 23:38:09 +02:00
mkdir -p ${DESTDIR}/${d}
mv ${SRCPKGDESTDIR}/${d}/designer.* ${DESTDIR}/${d}
done
mv ${SRCPKGDESTDIR}/usr/share/qt/translations/designer* \
2011-05-02 23:38:09 +02:00
${DESTDIR}/usr/share/qt/translations
}