Thanks for latest link.
http://gtkd.org/Downloads/sources/Latest
I'm changed code. I'm update SH file link:
https://gist.github.com/aligoren/9805f9e250afd34b84f4
Maybe you can sharing this script if true script.
Also commented some lines
# for auto link: dmd sample.d -ofSample
#env32="[Environment32]"
#env64="[Environment64]"
#dflg32="DFLAGS=-I/usr/include/dmd/phobos -I/usr/include/dmd/druntime/import -I/usr/local/include/d/gtkd-3 -L-lgtkd-3 -L-lgtkdgl-3 -L-lgtkdsv-3 -L-ldl"
#dflg64="DFLAGS=-I/usr/include/dmd/phobos -I/usr/include/dmd/druntime/import -I/usr/local/include/d/gtkd-3 -L-lgtkd-3 -L-lgtkdgl-3 -L-lgtkdsv-3 -L-ldl"
#sudo mv /etc/dmd.conf /etc/dmd.conf.backup
#sudo touch /etc/dmd.conf
#cat << EOF | sudo tee /etc/dmd.conf &> /dev/null
#${env32}
#${dflg32}
#${env64}
#${dflg64}
#EOF