summaryrefslogtreecommitdiff
path: root/community/python2-xapian
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/python2-xapian
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/python2-xapian')
-rw-r--r--community/python2-xapian/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/python2-xapian/PKGBUILD b/community/python2-xapian/PKGBUILD
new file mode 100644
index 000000000..2284ee539
--- /dev/null
+++ b/community/python2-xapian/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 89984 2013-05-06 17:28:48Z 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.15
+pkgrel=1
+pkgdesc="Python bindings for Xapian"
+arch=(i686 x86_64)
+url="http://xapian.org/docs/bindings/python/"
+license=('GPL')
+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:
+sha512sums=('b3733308f0446fa041dcae677b3d3316bd8e775fcd1a1770ca2fab5b60e40463bbbce210cb1161161f6e9f1ff5e5473d38c2dab922b7f4f2705ac165d991c0ec')