1 # Contributor: zarra <zarraxx@gmail.com>
6 pkgdesc="tolua++ is an extended version of tolua, a tool to integrate C/C++ code with Lua."
7 url="http://developer.berlios.de/projects/toluapp/"
11 arch=('i686' 'x86_64')
12 provides=("${pkgname%-svn}")
13 conflicts=("${pkgname%-svn}")
15 source=(tolua++svn297.patch)
16 md5sums=(20a7a24b34326084c7799c0f8f3cd32c)
17 _svntrunk=http://svn.berlios.de/svnroot/repos/toluapp/trunk
25 msg "Updating SVN entries for $_svnmod ..."
27 if [ -d $_svnmod/.svn ]; then
28 (cd $_svnmod && svn up -r $pkgver)
30 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
33 cp -r $_svnmod $_svnmod-build
35 cd $srcdir/$_svnmod-build
37 msg "Starting build ..."
42 patch -p1 < $srcdir/tolua++svn297.patch || return 1
45 scons prefix=$startdir/pkg/usr install
48 mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
49 install -m 644 README $startdir/pkg/usr/share/licenses/$pkgname/COPYING