It seems that build does not check the Roundcube version, only the MySQL version:
if ${OLD_MYSQL}; then
echo "${boldon}RoundCube ${ROUNDCUBE_VER} requires newer version of ${MYSQLNAME} than ${MYSQLV}, alternatively, the following my.cnf configuration can be set:${bold$
echo...