1 # Contributer: BeholdMyGlory <larvid@gmail.com>
6 pkgdesc="The Tango standard library for the D programming language."
8 url="http://dsource.org/projects/tango"
10 md5sums=('b80631a875a905cc29b5f137ae3e9c37')
12 makedepends=('subversion')
15 conflicts=('libphobos' 'libtango')
17 _svntrunk=http://svn.dsource.org/projects/tango/trunk/
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up)
26 svn co $_svntrunk --config-dir ./ $_svnmod
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
34 mkdir -p ${pkgdir}/usr/lib
35 mkdir -p ${pkgdir}/usr/include/d
37 build/script/bob.sh --libname ${pkgdir}/usr/lib/libtango.a --verbose dmd || return 1
39 cp -r object.di tango ${pkgdir}/usr/include/d || return 1
41 find ${pkgdir} -depth -type d -name ".svn" -exec rm -r {} ';'
43 mkdir -p ${pkgdir}/etc
44 cp ${srcdir}/dmd.conf ${pkgdir}/etc || return 1