[arch-commits] Commit in python-xapian/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Jan 3 17:51:10 UTC 2018
Date: Wednesday, January 3, 2018 @ 17:51:06
Author: felixonmars
Revision: 278344
archrelease: copy trunk to community-testing-x86_64
Added:
python-xapian/repos/community-testing-x86_64/
python-xapian/repos/community-testing-x86_64/PKGBUILD
(from rev 278343, python-xapian/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-xapian/repos/community-testing-x86_64/PKGBUILD (from rev 278343, python-xapian/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-01-03 17:51:06 UTC (rev 278344)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: DonVla <donvla/users.sourceforge/net>
+# Contributor: Hervé Cauwelier <herve/oursours/net>
+
+pkgbase=python-xapian
+pkgname=('python2-xapian')
+_realname=xapian-bindings
+pkgver=1.4.5
+epoch=1
+pkgrel=1
+pkgdesc="Python bindings for Xapian"
+arch=('x86_64')
+url="http://xapian.org/docs/bindings/python/"
+license=('GPL')
+makedepends=('python2-sphinx' "xapian-core=$epoch:$pkgver")
+source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz")
+sha512sums=('e39ece495e25077990db3d06554306567c52c6f45ad55a65005cb97e18086ee18947e41d0d612157b891b61e015881385bcb082a03aa0c6452565e90d09e8275')
+
+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:
More information about the arch-commits
mailing list