1 # Contributor: henning mueller <henning@orgizm.net>
5 pkgdesc="Residual is a ScummVM sub-project to play LucasArts' LUA-based 3D adventures, such as Grim Fandango."
6 url="http://residual.sourceforge.net"
9 depends=(sdl libmad mesa fluidsynth)
10 makedepends=(subversion)
11 install=$pkgname.install
15 _svntrunk=http://residual.svn.sourceforge.net/svnroot/residual/residual/trunk
21 [ -d $_svnmod/.svn ] &&
22 (cd $_svnmod && svn up -r $pkgver) ||
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 cp -r $_svnmod $_svnmod-build
28 ./configure --prefix=/usr || return 1
29 sed -i 's/TODO""/TODO" "/' ports.mk
32 make DESTDIR=$pkgdir install
34 rm -rf $srcdir/$_svnmod-build