2 pkgname=derelict-ldc-svn
5 pkgdesc="Derelict is a collection of D bindings to C shared (dynamic) libraries which are useful for multimedia applications, with a heavy bias toward game development-related libraries."
7 url="http://www.dsource.org/projects/ldc"
10 makedepends=('ldc-tango' 'gcc' 'subversion' 'dsss')
13 source=(derelict.patch)
14 #install=(${pkgname}.install)
15 md5sums=('c13daeefd701637c10c4454dbc68bdcf')
17 _svntrunk=http://svn.dsource.org/projects/derelict/trunk
23 if [ -d ${_svnmod} ]; then
24 cd ${startdir}/src/${_svnmod}
27 svn co ${_svntrunk} ${_svnmod} -r${pkgver} || return 1
30 cd ${startdir}/src/${_svnmod}
32 patch -p0 -t -N -i ${startdir}/derelict.patch
34 cd ${startdir}/src/${_svnmod}
35 dsss build -dc=ldc-posix-tango --prefix=${startdir}/src/tmp
36 dsss install -dc=ldc-posix-tango --prefix=${startdir}/pkg/usr --libdir=${startdir}/pkg/usr/lib/ldc
37 chmod +r ${startdir}/pkg/usr/share/dsss/manifest/derelict.manifest