Package Details: xapian-core-git v1.4.0.2731.g31ccc3a82-2

Git Clone URL: https://aur.archlinux.org/xapian-core-git.git (read-only, click to copy)
Package Base: xapian-core-git
Description: Open source search engine library
Upstream URL: https://github.com/xapian/xapian
Licenses: GPL
Conflicts: xapian-core
Provides: xapian-core
Submitter: jokke
Maintainer: jokke
Last Packager: jokke
Votes: 0
Popularity: 0.000000
First Submitted: 2016-04-18 09:05 (UTC)
Last Updated: 2020-06-20 12:57 (UTC)

Required by (30)

Sources (1)

Latest Comments

haawda commented on 2022-06-13 21:24 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 821ea5c..08cd229 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,21 +29,23 @@ makedepends=(
 )
 provides=('xapian-core')
 conflicts=('xapian-core')
-source=("git://github.com/xapian/xapian")
+source=("git+https://github.com/xapian/xapian")
 sha512sums=('SKIP')
-
+options=('libtool')
+
 pkgver() {
-  cd "$srcdir/xapian"
-  git describe --long | sed 's/Release_//;s/-/./g'
+  cd "$srcdir/xapian/xapian-core"
+  printf "%s.r%s" $(awk '/AC_INIT/ {print $2}' configure.ac |tr -d \[\],) $(git rev-list --count HEAD)
 }

 build() {
   cd "$srcdir/xapian"
-  ./bootstrap --without-autotools xapian-core
-
+  ./bootstrap xapian-core
+  export CXXFLAGS=${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS}
+  export CXXFLAGS+="-Wno-error=maybe-uninitialized -Wno-error=use-after-free"
   cd "$srcdir/xapian/${pkgname/-git/}"
   ./configure --prefix=/usr --enable-maintainer-mode
-  make
+  make
 }

 package() {

haawda commented on 2022-04-22 09:07 (UTC)

please change source-url to git+https

EndlessEden commented on 2020-06-18 10:58 (UTC)

Please add python-pygments to the dependancies. It fails to build docs without it.

qqqqqqqqq9 commented on 2016-12-31 10:51 (UTC)

Hi, ./bootstrap --without-autotools xapian-core gives an endless loop. Please replace it with: ./bootstrap --without-autotools Thanks.

bastelfreak commented on 2016-06-04 10:50 (UTC)

Hi, it is currently not possible to build the package: checking for dot... no configure: error: dot (part of the graphviz package) is required to build documentation ==> ERROR: A failure occurred in build(). full log at https://ci.virtapi.org/job/Arch_Package_xapian-core-git/1/console