1 # Contributor: BeholdMyGlory <larvid@gmail.com>
3 pkgname=libtango-ldc-svn
6 pkgdesc="The Tango standard library for the D programming language, compiled for ldc."
8 url="http://dsource.org/projects/tango"
10 makedepends=('subversion')
12 provides=('libtango' 'libtango-ldc')
13 conflicts=('libphobos' 'libtango')
15 _svntrunk=http://svn.dsource.org/projects/tango/trunk/
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up)
24 svn co $_svntrunk --config-dir ./ $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
32 mkdir -p ${pkgdir}/usr/lib
33 mkdir -p ${pkgdir}/usr/include/d
35 build/script/bob.sh --libname ${pkgdir}/usr/lib/libtango.a --verbose ldc || return 1
37 cp -r object.di tango ${pkgdir}/usr/include/d || return 1
39 find ${pkgdir} -depth -type d -name ".svn" -exec rm -r {} ';'