1 # Maintainer: Marcin Skory <armitage at gfreedom dot org>
2 pkgname=onscripter-en-svn
5 pkgdesc="English version of the open source interpreter for the visual novel game scripting engine NScripter (SVN version)"
7 url="http://onscripter.unclemion.com/"
9 depends=('gcc-libs' 'sdl_mixer' 'sdl_image' 'sdl_ttf' 'bzip2')
10 makedepends=('subversion')
11 provides=('onscripter-en')
12 conflicts=('onscripter-en')
14 _svntrunk=http://svn.unclemion.com/repo/onscripter/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/onscripter-en" "${pkgdir}/usr/bin/onscripter-en"
42 install -dm755 "${pkgdir}/usr/share/doc/onscripter-en"
43 cd "${srcdir}/${_svnmod}"
44 install -m644 BUGS CHANGES INSTALL README "${pkgdir}/usr/share/doc/onscripter-en"