CMake, SCons, Meson, etc. are not bound to build in a Git (or any other VCS) repository, in fact they focus on building a source tree. That package building for the Dub repo works with Git repositories and tags is the problem.