1 # Contributor: Brix <brix@brix-verden.dk>
6 pkgdesc="A collection of C bindings with runtime library loading for the D Programming Language."
7 url="http://dsource.org/projects/derelict"
8 arch=('i686', 'x86_64')
10 makedepends=('subversion')
12 _svntrunk=http://svn.dsource.org/projects/derelict/trunk/
18 if [ -d $_svnmod/.svn ]; then
19 (cd $_svnmod && svn up)
21 svn co $_svntrunk --config-dir ./ $_svnmod
24 msg "SVN checkout done or server timeout"
28 mkdir -p ${pkgdir}/usr/include/d/derelict
30 # Maybe this should be split into multiple packages?
31 cp -r DerelictAL/derelict ${pkgdir}/usr/include/d || return 1
32 cp -r DerelictFT/derelict ${pkgdir}/usr/include/d || return 1
33 cp -r DerelictGL/derelict ${pkgdir}/usr/include/d || return 1
34 cp -r DerelictGLU/derelict ${pkgdir}/usr/include/d || return 1
35 cp -r DerelictIL/derelict ${pkgdir}/usr/include/d || return 1
36 cp -r DerelictILU/derelict ${pkgdir}/usr/include/d || return 1
37 cp -r DerelictILUT/derelict ${pkgdir}/usr/include/d || return 1
38 cp -r DerelictODE/derelict ${pkgdir}/usr/include/d || return 1
39 cp -r DerelictOgg/derelict ${pkgdir}/usr/include/d || return 1
40 cp -r DerelictSDL/derelict ${pkgdir}/usr/include/d || return 1
41 cp -r DerelictSDLImage/derelict ${pkgdir}/usr/include/d || return 1
42 cp -r DerelictSDLMixer/derelict ${pkgdir}/usr/include/d || return 1
43 cp -r DerelictSDLNet/derelict ${pkgdir}/usr/include/d || return 1
44 cp -r DerelictSDLttf/derelict ${pkgdir}/usr/include/d || return 1
45 cp -r DerelictUtil/derelict ${pkgdir}/usr/include/d || return 1
46 cp -r DerelictVorbis/derelict ${pkgdir}/usr/include/d || return 1
48 find ${pkgdir} -depth -type d -name ".svn" -exec rm -r {} ';'