updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / residual-svn / PKGBUILD
blob779b59bb85a47b18ecf555ba617881b6c3726f10
1 # Contributor: henning mueller <henning@orgizm.net>
2 pkgname=residual-svn
3 pkgver=1664
4 pkgrel=1
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"
7 arch=(i686 x86_64)
8 license=(GPL)
9 depends=(sdl libmad mesa fluidsynth)
10 makedepends=(subversion)
11 install=$pkgname.install
12 source=()
13 md5sums=()
15 _svntrunk=http://residual.svn.sourceforge.net/svnroot/residual/residual/trunk
16 _svnmod=residual
18 build() {
19         cd $srcdir
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
26         cd $_svnmod-build
28         ./configure --prefix=/usr || return 1
29         sed -i 's/TODO""/TODO" "/' ports.mk
31         make || return 1
32         make DESTDIR=$pkgdir install
34         rm -rf $srcdir/$_svnmod-build