1 # Contributor: totoloco <totoloco at gmail dot com>
6 pkgdesc="A graphics library that outputs text instead of pixels"
9 builddepends=('doxygen', 'svn')
10 buildconflicts=('mono')
14 depends=('imlib2' 'freeglut' 'ruby' 'slang')
16 _svntrunk=svn://svn.zoy.org/caca/libcaca/trunk
19 url="http://caca.zoy.org"
26 msg "SVN checking out..."
27 if [ -d $_svnmod/.svn ]; then
28 (cd $_svnmod && svn up)
30 svn co $_svntrunk --config-dir ./ $_svnmod
33 msg "SVN checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_svnmod-build"
37 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
38 cd "$srcdir/$_svnmod-build"
41 ./configure --prefix=/usr
42 make CPPUNIT_CFLAGS=-ldl || return 1
43 make DESTDIR=$pkgdir install
44 install -Dm644 COPYING $pkgdir/usr/share/licenses/libcaca/COPYING