[arch-commits] Commit in xapian-core/trunk (PKGBUILD rebuild.list)

David Runge dvzrv at archlinux.org
Tue Sep 1 10:55:11 UTC 2020


    Date: Tuesday, September 1, 2020 @ 10:55:11
  Author: dvzrv
Revision: 395035

upgpkg: xapian-core 1:1.4.17-2: Rebuild to add tests and libprovides.

Add call to autoreconf in prepare().
Add all direct (library) dependencies in depends. Add all sodeps in package() and respective package in makedepends().
Add call to make check in check(). Change to correct license (GPL2).
Add libxapian.so to provides. Add additional docs. Add contributor info.

Modified:
  xapian-core/trunk/PKGBUILD
  xapian-core/trunk/rebuild.list

--------------+
 PKGBUILD     |   33 +++++++++++++++++++++++++--------
 rebuild.list |    2 +-
 2 files changed, 26 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-01 09:26:53 UTC (rev 395034)
+++ PKGBUILD	2020-09-01 10:55:11 UTC (rev 395035)
@@ -1,4 +1,5 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: David Runge <dvzrv at archlinux.org>
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Alexander Fehr <pizzapunk gmail com>
 # Contributor: William Rea <sillywilly at gmail.com>
@@ -5,29 +6,45 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=xapian-core
+pkgver=1.4.17
+pkgrel=2
 epoch=1
-pkgver=1.4.17
-pkgrel=1
 pkgdesc='Open source search engine library.'
 arch=('x86_64')
-url='https://www.xapian.org/'
-license=('GPL')
-depends=('util-linux')
+url="https://www.xapian.org/"
+license=('GPL2')
+makedepends=('util-linux')
+depends=('bash' 'gcc-libs' 'glibc' 'zlib')
+provides=('libxapian.so')
 # xapian config requires libxapian.la
 options=('libtool')
 source=("https://oligarchy.co.uk/xapian/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
 sha512sums=('3eaf45d31eb9318e292fa052b32b1d9e1035651bdd3c366a0134f4b39d03d987083c19426a3d4b10f60078190fc3388f05b332cba958263bab1abf236c7a3ca7'
             'SKIP')
+b2sums=('882bc28c9a55731212a5c3ac6da3ad2082e3345cb473eb2c09b80fdd05e700bb31cff6c9a0524b27da015b14655c30548e92a457b48af43279bfd3564cf3c3fa'
+        'SKIP')
 validpgpkeys=('08E2400FF7FE8FEDE3ACB52818147B073BAD2B07') # Olly Betts <olly at debian.org>
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+}
+
 build() {
-  cd ${pkgname}-${pkgver}
-  ./configure \
-    --prefix=/usr
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
   make
 }
 
+check() {
+  cd "${pkgname}-${pkgver}"
+  make check
+}
+
 package() {
+  depends+=('libuuid.so')
   cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
+  install -vDm 644 {AUTHORS,ChangeLog,HACKING,NEWS,README} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
 }

Modified: rebuild.list
===================================================================
--- rebuild.list	2020-09-01 09:26:53 UTC (rev 395034)
+++ rebuild.list	2020-09-01 10:55:11 UTC (rev 395035)
@@ -1 +1 @@
-python2-xapian
+python-xapian


More information about the arch-commits mailing list