[arch-commits] Commit in python-xapian/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 17:20:49 UTC 2020
Date: Monday, November 9, 2020 @ 17:20:49
Author: foutrelis
Revision: 747870
archrelease: copy trunk to community-staging-x86_64
Added:
python-xapian/repos/community-staging-x86_64/
python-xapian/repos/community-staging-x86_64/PKGBUILD
(from rev 747869, python-xapian/trunk/PKGBUILD)
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Copied: python-xapian/repos/community-staging-x86_64/PKGBUILD (from rev 747869, python-xapian/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-09 17:20:49 UTC (rev 747870)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: DonVla <donvla/users.sourceforge/net>
+# Contributor: Hervé Cauwelier <herve/oursours/net>
+
+pkgname=python-xapian
+_name=xapian-bindings
+pkgver=1.4.17
+pkgrel=2
+epoch=1
+pkgdesc="Python bindings for Xapian"
+arch=('x86_64')
+url="https://xapian.org/docs/bindings/python/"
+license=('GPL2')
+depends=('gcc-libs' 'glibc' 'python' 'zlib')
+makedepends=('util-linux-libs' 'python-sphinx' "xapian-core=$epoch:$pkgver")
+source=("https://oligarchy.co.uk/xapian/${pkgver}/${_name}-${pkgver}.tar.xz"{,.asc})
+sha512sums=('9cfd9809b8b13d47a7b50950c19b821d4ae902611eed3972d93cccda82d07d5858e37989bb9de31ede082c2574487e0bcd8c1e5f30f1479d47f4c28200ff76e7'
+ 'SKIP')
+b2sums=('8c45322725c341f6e6484e0aa8716798aa5b31e5bbc795d0f5c631022c69e96f472b3fd76609116a196431e5b069a710c3ebbfc989de8fb57d5e2d081008b89c'
+ 'SKIP')
+validpgpkeys=('08E2400FF7FE8FEDE3ACB52818147B073BAD2B07') # Olly Betts <olly at debian.org>
+
+prepare() {
+ cd "${_name}-${pkgver}"
+ autoreconf -vfi
+}
+
+build() {
+ cd "${_name}-${pkgver}"
+ ./configure --prefix=/usr \
+ --with-python3
+ make
+}
+
+check() {
+ cd "${_name}-${pkgver}"
+ make check
+}
+
+package() {
+ depends+=('libuuid.so' 'libxapian.so')
+ cd "${_name}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -vDm 644 {AUTHORS,ChangeLog,HACKING,NEWS,README,TODO} \
+ -t "${pkgdir}/usr/share/doc/${_name}"
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list