pkgname=cmake version=4.3.3 upstream="https://github.com/Kitware/CMake/releases/download/v${version}/cmake-${version}.tar.gz" function do_configure { ./bootstrap } function do_build { make } function do_install { make DESTDIR="${MASTERDIR}" install }