community/opendht to 2.5.2-1

This commit is contained in:
Kevin Mihelich 2023-04-21 12:45:50 +00:00
parent 6e525b557f
commit 3477c26049

View file

@ -7,7 +7,7 @@
pkgname=opendht
epoch=1
pkgver=2.4.10
pkgver=2.5.2
pkgrel=1
pkgdesc="C++17 Distributed Hash Table (DHT) implementation"
arch=(x86_64)
@ -17,9 +17,9 @@ depends=(glibc gnutls nettle readline argon2 jsoncpp libjsoncpp.so fmt http-pars
makedepends=(git cmake msgpack-cxx asio restinio cython python-setuptools cppunit)
optdepends=('python: to use the Python bindings'
'msgpack-cxx: linking against opendht')
_commit=69a1bdfc45617d9374954948fbe840f34d58b3b4
_commit=adf57ce2f02e1fd241c07e641e761f360e7fb108
source=(git+${url}#commit=${_commit})
sha256sums=(SKIP)
sha256sums=('SKIP')
pkgver() {
cd ${pkgname}
@ -33,7 +33,6 @@ build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DOPENDHT_DOCUMENTATION=OFF \
-DOPENDHT_TESTS=ON \
-DOPENDHT_STATIC=OFF \
-DOPENDHT_SYSTEMD=ON \
-DOPENDHT_SYSTEMD_UNIT_FILE_LOCATION=/usr/lib/systemd/system/ \
-DOPENDHT_INDEX=ON \