1 # Contributor: DonVla <donvla@users.sourceforge.net>, zhangkaizhao <zkc@zopen.cn>
3 pkgname=xapian-python25-bindings
4 _realname=xapian-bindings
7 pkgdesc="Python bindings for Xapian"
9 url="http://xapian.org/"
12 depends=('python25' 'xapian-core')
14 source=(http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-$pkgver.tar.gz)
15 md5sums=('665a016e9970a4df6a96a092760878b3')
18 cd "$srcdir/${_realname}-$pkgver"
19 export PYTHON=/usr/bin/python2.5
20 export PYTHON_LIB=/usr/lib/python2.5/
21 ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \
22 --prefix=/usr --with-python
24 make DESTDIR="$pkgdir" install || return 1
26 # vim:set ts=2 sw=2 et: