updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python2-xapian / PKGBUILD
blob58895f7d52fc0b01dc8e49318aa9c91c78682685
1 # Contributor: DonVla <donvla/users.sourceforge/net>
2 # Maintainer: HervĂ© Cauwelier <herve/oursours/net>
4 pkgname=python2-xapian
5 _realname=xapian-bindings
6 pkgver=1.2.7
7 pkgrel=1
8 pkgdesc="Python bindings for Xapian"
9 arch=(i686 x86_64)
10 url="http://xapian.org/docs/bindings/python/"
11 license=('GPL')
12 groups=(xapian)
13 depends=('python2' 'xapian-core')
14 makedepends=('gcc')
15 conflicts=('xapian-python-bindings')
16 source=(http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-$pkgver.tar.gz)
18 build() {
19   cd "$srcdir/${_realname}-$pkgver"
20     
21   ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \
22          --prefix=/usr --with-python \
23          PYTHON=/usr/bin/python2
25   make
29 package() {
30   cd "$srcdir/${_realname}-$pkgver"
32   make DESTDIR="$pkgdir" install
34 # vim:set ts=2 sw=2 et:
35 md5sums=('44b83efe4b025c3b5ea3eff4e0f17a9a')