1 # Contributor: Hussam Al-Tayeb <ht990332@gmail.com>
2 # Contributor: Simon Atkins <bonzodog01 at gmail dot com>
7 pkgdesc="A skeletal-based 3D character animation library, revision 507 for best compatibility with the games in our repo."
8 url="https://gna.org/projects/cal3d"
11 makedepends=('subversion')
18 _svntrunk=svn://svn.gna.org/svn/cal3d/trunk/cal3d
23 #Grab the sources with svn
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver) || return 1
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod || return 1
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
32 rm -r $srcdir/$_svnmod-build
33 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
34 cd $srcdir/$_svnmod-build
36 #Patch, build and install the package
37 sed -i 's/AM_USE_UNITTESTCPP/# AM_USE_UNITTESTCPP/' configure.in || return 1
38 autoreconf --install --force
41 make DESTDIR=$pkgdir/ install || return 1
43 rm -rf $srcdir/$_svnmod-build
47 # vim:set ts=2 sw=2 et: