updated on Mon Jan 16 04:00:32 UTC 2012
[aur-mirror.git] / sword-python / PKGBUILD
blob8ce3ee0c437f219655dc74df0d2619609ce5bc84
1 # Contributor: Dale Ogilvie <pnyli0002@sneakemail.com>
3 pkgname=sword-python
4 pkgver=1.5.9
5 pkgrel=1
6 pkgdesc="Python bindings for SWORD"
7 arch=(i686 x86_64)
8 url="http://www.crosswire.org/sword/index.jsp"
9 license="GPL"
10 options=('!LIBTOOL')
11 depends=('sword' 'swig')
12 source=(http://www.crosswire.org/ftpmirror/pub/$pkgname/source/v1.5/sword-${pkgver}.tar.gz)
13 md5sums=('e1f1af8c2add8310d0bbcddc9af523b8')
15 build() {
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
21   libtoolize --force
22   ./autogen.sh
23   ./configure --prefix=/usr --sysconfdir=/etc
24   make pythonswig
25   make python_make
26   cd python
27   python setup.py install --root=$startdir/pkg