I wrote build script that build INDI drivers and KStars/Ekos from source. There are two version of this script stable that build last stable version and then latest which build bleeding edge version from GIT.
To use it clone repository with scripts
git clone https://gitea.nouspiro.space/nou/astro-soft-build.git
Enter into cloned directory
When doing this first time install all build dependencies
Then run one of script
To get updated version of scripts to get newer stable version run
git pull origin and then run