4 pkgdesc="Bindings of Qt GUI library to D programming language"
6 url="http://www.dsource.org/projects/qtd"
8 depends=('dmd2' 'libphobos2' 'qt')
9 makedepends=('mercurial')
12 options=('!makeflags')
14 _hgrepo=http://hg.dsource.org/projects/qtd/
19 if [ -d $_hgmod/.hg ]; then
20 (cd $_hgmod && hg pull )
22 hg clone $_hgrepo $_hgmod
25 msg "hg checkout done or server timeout"
29 # enter build directory
30 if [ -d build_dir ]; then
37 # overwrite makepkg.conf flags as those may kill the compile -.-
41 cmake -DCMAKE_INSTALL_PREFIX=/usr ../
44 DESTDIR=${pkgdir} make install || return 1