1 # Contributor: Dale Ogilvie <pnyli0002@sneakemail.com>
6 pkgdesc="Python bindings for SWORD"
8 url="http://www.crosswire.org/sword/index.jsp"
11 depends=('sword' 'swig')
12 source=(http://www.crosswire.org/ftpmirror/pub/$pkgname/source/v1.5/sword-${pkgver}.tar.gz)
13 md5sums=('e1f1af8c2add8310d0bbcddc9af523b8')
16 cd $startdir/src/sword-${pkgver}
17 # assume sword built with lucene and icu
18 #./configure --prefix=/usr --sysconfdir=/etc --with-lucene --with-icu
19 cd bindings/swig/package
20 sed -i 's/1\.5\.[78]/1\.5\.9/g' configure.ac
23 ./configure --prefix=/usr --sysconfdir=/etc
27 python setup.py install --root=$startdir/pkg