updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xapian-python-bindings / PKGBUILD
blob15340686365c35ab7b50094fd8816ddd80225f05
1 # Contributor: DonVla <donvla@users.sourceforge.net>
3 pkgname=xapian-python-bindings
4 _realname=xapian-bindings
5 pkgver=1.2.4
6 pkgrel=1
7 pkgdesc="Python bindings for Xapian"
8 arch=(i686 x86_64)
9 url="http://xapian.org/docs/bindings/python/"
10 license=('GPL')
11 groups=(xapian)
12 depends=('python' 'xapian-core')
13 makedepends=('gcc')
14 source=(http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-$pkgver.tar.gz)
15 md5sums=('b3d078883b259eec1bbaff8982feabbe')
16 sha256sums=('d41ebd46aa5070782b8294caea6bc02ef96f8506081e52cf8970056bc9a08f0c')
18 build() {
19   cd "$srcdir/${_realname}-$pkgver"
20   PYTHON=/usr/bin/python2 ./configure XAPIAN_CONFIG=/usr/bin/xapian-config --prefix=/usr --with-python
21   make
24 package() {
25   cd "$srcdir/${_realname}-$pkgver"
26   make DESTDIR="$pkgdir" install
28 # vim:set ts=2 sw=2 et: