diff options
author | root <root@rshg054.dnsready.net> | 2012-12-22 02:49:14 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-22 02:49:14 -0800 |
commit | 0f92922979ec1f52c580079a4a49a7dc84af4ca1 (patch) | |
tree | fe2e215e3c2e3b9f297f1196511be57fcb5701d8 /community/python2-xapian | |
parent | ebf350f32a8352abbd1bb4a8a49ed750bb23f285 (diff) |
Sat Dec 22 02:47:27 PST 2012
Diffstat (limited to 'community/python2-xapian')
-rw-r--r-- | community/python2-xapian/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/python2-xapian/PKGBUILD b/community/python2-xapian/PKGBUILD new file mode 100644 index 000000000..c6e435a54 --- /dev/null +++ b/community/python2-xapian/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 81458 2012-12-21 10:08:56Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: DonVla <donvla/users.sourceforge/net> +# Contributor: Hervé Cauwelier <herve/oursours/net> + +pkgname=python2-xapian +_realname=xapian-bindings +pkgver=1.2.12 +pkgrel=1 +pkgdesc="Python bindings for Xapian" +arch=(i686 x86_64) +url="http://xapian.org/docs/bindings/python/" +license=('GPL') +groups=(xapian) +depends=('python2' 'xapian-core') +source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-$pkgver.tar.gz") + +build() { + cd "$srcdir/${_realname}-$pkgver" + + ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \ + --prefix=/usr --with-python \ + PYTHON=/usr/bin/python2 + + make +} + + +package() { + cd "$srcdir/${_realname}-$pkgver" + + make DESTDIR="$pkgdir" install +} +# vim:set ts=2 sw=2 et: +md5sums=('9331d7885a68470184ba3d3e8c2b57d5') |