4 pkgdesc="Python openfst"
6 url="http://code.google.com/p/ocropus/"
8 makedepends=('mercurial' 'scons' 'openfst')
9 depends=('gcc-libs' 'sdl_gfx' 'sdl_image' 'iulib-hg')
10 source=(build_fix.diff)
11 md5sums=('c47f51ca529165f9fed7f082056f2dc6')
13 _hgroot="https://pyopenfst.googlecode.com/hg/"
18 msg "Connecting to Mercurial server...."
20 if [ -d $_hgrepo ] ; then
22 hg pull -u || return 1
23 msg "The local files are updated."
25 hg clone $_hgroot $_hgrepo || return 1
28 msg "Mercurial checkout done or server timeout"
33 patch < $srcdir/build_fix.diff
35 make INSTALL_OPTS="--root=$pkgdir"