diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-29 04:11:37 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-29 04:11:37 +0000 |
commit | 58beaea4e8efc53ea238eedf446ec5d8c1cd5fdb (patch) | |
tree | d00ff5b736b1188b0c39f0a90e251e71c9bb70ae /community/python-xapian | |
parent | f62112e9664a5448ebcceb9e4b851d65f2361a5c (diff) |
Sun Jun 29 04:05:35 UTC 2014
Diffstat (limited to 'community/python-xapian')
-rw-r--r-- | community/python-xapian/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/python-xapian/PKGBUILD b/community/python-xapian/PKGBUILD new file mode 100644 index 000000000..75e33ae6f --- /dev/null +++ b/community/python-xapian/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 113692 2014-06-28 02:38:09Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: DonVla <donvla/users.sourceforge/net> +# Contributor: Hervé Cauwelier <herve/oursours/net> + +pkgbase=python-xapian +pkgname=('python2-xapian') +_realname=xapian-bindings +pkgver=1.2.18 +epoch=1 +pkgrel=1 +pkgdesc="Python bindings for Xapian" +arch=('i686' 'x86_64') +url="http://xapian.org/docs/bindings/python/" +license=('GPL') +makedepends=('python' 'python2' "xapian-core=$epoch:$pkgver") +source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz") + +build() { + cd "$srcdir/${_realname}-$pkgver" + ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \ + --prefix=/usr --with-python \ + PYTHON=/usr/bin/python2 + make +} + +package_python2-xapian() { + depends=('python2' "xapian-core=$epoch:$pkgver") + + cd ${_realname}-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: +sha512sums=('c0c417130bfaa3f059a003cacaa129662b216704d2f4bdfd997e1d2c0d74a77385f9f79b6ed5e3fb63b5217f78ebd43826fbee9c00f81264089728a02cffbd30') |