# Contributor: Chris Leishman # Maintainer: Chris Leishman pkgname=libneo4j-client pkgver=2.2.0 pkgrel=3 pkgdesc="Client library for the Neo4j graph database" url="https://github.com/cleishm/libneo4j-client" arch="aarch64 ppc64le x86_64" license="Apache-2.0" makedepends=" autoconf automake check-dev doxygen libcypher-parser-dev libedit-dev libtool musl-fts-dev openssl-dev " subpackages=" $pkgname-dev neo4j-client neo4j-client-doc " source="https://github.com/cleishm/libneo4j-client/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" build() { export CFLAGS="$CFLAGS -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=nonnull" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-doxygen-html \ --disable-doxygen-pdf make } check() { make LIBS="-lfts" check } package() { make DESTDIR="$pkgdir" install } client() { pkgdesc="Command line shell for Neo4j" amove usr/bin/neo4j-client } sha512sums=" 973f8e49ee780b9ef8710dad057f264db1004523059ece5504af32c2ba5367e9199898d24aa133c017c953b0b750b2a23495765069c9a5ad470e8387a0eb4d9a libneo4j-client-2.2.0.tar.gz "