updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / xapian-python25-bindings / PKGBUILD
blobf037b7cd096dd4a18c1e53f8dc09af4788ba2b51
1 # Contributor: DonVla <donvla@users.sourceforge.net>, zhangkaizhao <zkc@zopen.cn>
3 pkgname=xapian-python25-bindings
4 _realname=xapian-bindings
5 pkgver=1.0.8
6 pkgrel=2
7 pkgdesc="Python bindings for Xapian"
8 arch=(i686 x86_64)
9 url="http://xapian.org/"
10 license=('GPL')
11 groups=(xapian)
12 depends=('python25' 'xapian-core')
13 makedepends=('gcc')
14 source=(http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-$pkgver.tar.gz)
15 md5sums=('665a016e9970a4df6a96a092760878b3')
17 build() {
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
23   make || return 1
24   make DESTDIR="$pkgdir" install || return 1
26 # vim:set ts=2 sw=2 et: