1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="a Bible study tool for gnome -- svn version"
7 url="http://xiphos.org"
9 depends=('gtkhtml' 'libgsf' 'libglade' 'sword' 'nspr')
10 makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'subversion')
11 provides=('gnomesword' 'xiphos')
12 conflicts=('gnomesword' 'xiphos')
13 replaces=('gnomesword')
17 _svntrunk=https://gnomesword.svn.sourceforge.net/svnroot/gnomesword/trunk
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_svnmod-build"
33 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
34 cd "$srcdir/$_svnmod-build"
39 sed -i 's+/usr/bin/env python+/usr/bin/env python2+' waf
40 ./waf --prefix=/usr --enable-gtkhtml configure
41 ./waf --prefix=/usr build
42 ./waf --destdir=$pkgdir --no-post-install install