install -vm 755 install/blender $INSTALL_ROOT/usr/bin &&
install -vm 755 install/blenderplayer $INSTALL_ROOT/usr/bin &&
install -vm 644 $SCRIPT_DIRECTORY/blender48x48.png \
                $INSTALL_ROOT/usr/share/pixmaps &&

install -vm 755 -d $INSTALL_ROOT/usr/share/blender &&
install -vm 755 -d $INSTALL_ROOT/usr/lib/blender/plugins/sequence &&
install -vm 755 -d $INSTALL_ROOT/usr/lib/blender/plugins/texture &&

install -vm 644 $SOURCE_DIRECTORY/install/plugins/sequence/*.so \
                $INSTALL_ROOT/usr/lib/blender/plugins/sequence &&
install -vm 644 $SOURCE_DIRECTORY/install/plugins/texture/*.so \
                $INSTALL_ROOT/usr/lib/blender/plugins/texture &&
cp -va $SOURCE_DIRECTORY/release/scripts/bpydata \
       $INSTALL_ROOT/usr/share/blender &&
cp -va $SOURCE_DIRECTORY/release/scripts \
       $INSTALL_ROOT/usr/share/blender &&

install -vm 644 $SOURCE_DIRECTORY/release/VERSION \
                $INSTALL_ROOT/usr/share/blender &&

find $INSTALL_ROOT/usr/share/blender/scripts -name "*.py" -exec chmod -R 644 '{}' \;
