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

22 lines
692 B
Text
Raw Normal View History

# Template file for 'qt-demos'.
#
2012-05-23 21:10:40 +00:00
depends="hicolor-icon-theme qt-docs>=$version"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
short_desc="Qt examples and demos"
long_desc="${long_desc}
This package contains Qt 4 examples and demos."
do_install()
{
mkdir -p ${DESTDIR}/usr/share/doc/qt ${DESTDIR}/usr/bin
mkdir -p ${DESTDIR}/usr/share/icons/hicolor/64x64/apps
mv ${SRCPKGDESTDIR}/usr/bin/qtdemo ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/share/doc/qt/demos ${DESTDIR}/usr/share/doc/qt
mv ${SRCPKGDESTDIR}/usr/share/doc/qt/examples \
${DESTDIR}/usr/share/doc/qt
mv ${SRCPKGDESTDIR}/usr/share/icons/hicolor/64x64/apps/qtlogo.png \
2011-05-02 21:38:09 +00:00
${DESTDIR}/usr/share/icons/hicolor/64x64/apps
}