1 # Maintainer: Marcin Skory <armitage at gfreedom dot org>
2 pkgname=ponscripter-svn
5 pkgdesc="NScripter-style novel-game interpreter with an emphasis on supporting games in Western languages (SVN version)"
7 url="http://onscripter.unclemion.com/"
9 depends=('gcc-libs' 'sdl_mixer' 'sdl_image' 'bzip2' 'freetype2')
10 makedepends=('subversion')
11 provides=('ponscripter')
12 conflicts=('ponscripter')
14 _svntrunk=http://svn.unclemion.com/repo/ponscripter/trunk/
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_svnmod-build"
30 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31 cd "$srcdir/$_svnmod-build"
36 ./configure --prefix=/usr --no-werror
41 install -D -m755 "${srcdir}/${_svnmod}-build/src/ponscr" "${pkgdir}/usr/bin/ponscripter"
42 install -dm755 "${pkgdir}/usr/share/doc/ponscripter"
43 cd "${srcdir}/${_svnmod}"
44 install -m644 BUGS CHANGES INSTALL README "${pkgdir}/usr/share/doc/ponscripter"