prefix="$INSTALL_ROOT"/usr &&
install -vd "$prefix"/share/librecad \
            "$prefix"/lib/librecad &&
ln -vnsrf "$prefix"/lib/librecad "$prefix"/share/librecad/plugins &&
install -m555 -vDt "$prefix"/bin -m555 unix/librecad unix/ttf2lff &&
install -m444 -vDt "$prefix"/share/man/man1 tools/ttf2lff/ttf2lff.1 &&
install -m444 -vDt "$prefix"/share/applications desktop/librecad.desktop &&
install -m444 -vD desktop/librecad.sharedmimeinfo \
	"$prefix"/share/mime/packages/librecad.xml &&
install -m444 -vD desktop/graphics_icons_and_splash/Icon\ LibreCAD/Icon_Librecad.svg \
	"$prefix"/share/icons/hicolor/scalable/librecad.svg &&
cp -r unix/resources/fonts unix/resources/library unix/resources/patterns \
      unix/resources/qm "$prefix"/share/librecad/

