1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
2 pkgname=xiphos-webkit-svn
5 pkgdesc="A Bible study tool -- svn version from the webkit branch"
7 url="http://xiphos.org"
9 depends=('gtkhtml' 'libgsf' 'libglade' 'sword')
10 makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'subversion')
11 provides=('gnomesword' 'xiphos')
12 conflicts=('gnomesword' 'xiphos')
15 install=xiphos-svn.install
17 _svntrunk=https://gnomesword.svn.sourceforge.net/svnroot/gnomesword/branches/webkit
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