community/opendht to 2.4.9-1

This commit is contained in:
Kevin Mihelich 2022-07-23 00:21:40 +00:00
parent db472a174b
commit 46c57bc067

View file

@ -7,7 +7,7 @@
pkgname=opendht
epoch=1
pkgver=2.4.7.2
pkgver=2.4.9
pkgrel=1
pkgdesc="C++17 Distributed Hash Table (DHT) implementation"
arch=(x86_64)
@ -17,13 +17,13 @@ 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=4d356b6dcaed3ee0280fc2ef31933dd951b9aba7
_commit=2c7edb695f4796df77434e2445e3cff9be820c76
source=(git+${url}#commit=${_commit})
sha256sums=(SKIP)
pkgver() {
cd ${pkgname}
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./;s/-/+/'
git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./;s/-/+/'
}
build() {