Skip to content
Snippets Groups Projects
Commit 3af59c01 authored by Natanael Copa's avatar Natanael Copa
Browse files

testing/libneo4j-client: rebuild against libressl 2.5

parent f45e029f
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Chris Leishman <chris@leishman.org> # Maintainer: Chris Leishman <chris@leishman.org>
pkgname=libneo4j-client pkgname=libneo4j-client
pkgver=1.2.1 pkgver=1.2.1
pkgrel=1 pkgrel=2
pkgdesc="Client library for the Neo4j graph database" pkgdesc="Client library for the Neo4j graph database"
url="https://github.com/cleishm/libneo4j-client" url="https://github.com/cleishm/libneo4j-client"
arch="x86_64 aarch64" arch="x86_64 aarch64"
...@@ -11,7 +11,7 @@ depends="openssl" ...@@ -11,7 +11,7 @@ depends="openssl"
depends_dev="libressl-dev" depends_dev="libressl-dev"
makedepends="$depends_dev automake autoconf libtool check-dev doxygen pkgconfig fts fts-dev libedit-dev libcypher-parser-dev" makedepends="$depends_dev automake autoconf libtool check-dev doxygen pkgconfig fts fts-dev libedit-dev libcypher-parser-dev"
install="" install=""
subpackages="$pkgname-dev $pkgname-doc neo4j-client neo4j-client-doc" subpackages="$pkgname-dev $pkgname-doc neo4j-client:client"
source="https://github.com/cleishm/libneo4j-client/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" source="https://github.com/cleishm/libneo4j-client/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/"$pkgname-$pkgver" _builddir="$srcdir"/"$pkgname-$pkgver"
...@@ -32,28 +32,6 @@ package() { ...@@ -32,28 +32,6 @@ package() {
mv doc/html/* "$pkgdir"/usr/share/doc/libneo4j-client/ mv doc/html/* "$pkgdir"/usr/share/doc/libneo4j-client/
} }
doc() {
depends="$depends_doc"
pkgdesc="$pkgdesc (documentation)"
arch=${arch_doc:-"noarch"}
install_if="docs $pkgname=$pkgver-r$pkgrel"
if [ "X$subpkgname" = "Xlibneo4j-client-doc" ]; then
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/doc "$subpkgdir"/usr/share/
elif [ "X$subpkgname" = "Xneo4j-client-doc" ]; then
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/man "$subpkgdir"/usr/share/
find "$subpkgdir"/usr/share/man/ -type f | xargs gzip -9
else
die "Unknown doc package $pkgname"
fi
# remove if empty, ignore error (not empty)
rmdir "$pkgdir"/usr/share "$pkgdir"/usr 2>/dev/null
return 0
}
client() { client() {
depends="libedit libcypher-parser" depends="libedit libcypher-parser"
pkgdesc="Command line shell for Neo4j" pkgdesc="Command line shell for Neo4j"
...@@ -62,7 +40,7 @@ client() { ...@@ -62,7 +40,7 @@ client() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
# remove if empty, ignore error (not empty) # remove if empty, ignore error (not empty)
rmdir "$pkgdir"/usr/bin "$pkgdir"/usr 2>/dev/null rmdir "$pkgdir"/usr/bin "$pkgdir"/usr 2>/dev/null || true
return 0 return 0
} }
md5sums="f405b5c6e60b503f971e900b5f060820 libneo4j-client-1.2.1.tar.gz" md5sums="f405b5c6e60b503f971e900b5f060820 libneo4j-client-1.2.1.tar.gz"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment