[arch-commits] Commit in opendht/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Wed Feb 16 19:59:08 UTC 2022
Date: Wednesday, February 16, 2022 @ 19:59:08
Author: archange
Revision: 1133505
archrelease: copy trunk to community-x86_64
Added:
opendht/repos/community-x86_64/PKGBUILD
(from rev 1133504, opendht/trunk/PKGBUILD)
Deleted:
opendht/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-16 19:58:44 UTC (rev 1133504)
+++ PKGBUILD 2022-02-16 19:59:08 UTC (rev 1133505)
@@ -1,52 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
-
-pkgname=opendht
-epoch=1
-pkgver=2.3.1.r7+ga89e4d62
-pkgrel=4
-pkgdesc="C++14 Distributed Hash Table (DHT) implementation"
-arch=(x86_64)
-url="https://github.com/savoirfairelinux/opendht"
-license=(GPL3)
-depends=(glibc gnutls nettle readline argon2 jsoncpp libjsoncpp.so fmt http-parser openssl)
-makedepends=(git cmake msgpack-c msgpack-cxx asio restinio cython python-setuptools)
-checkdepends=(cppunit)
-optdepends=('python: to use the Python bindings')
-_commit=a89e4d626eae388bfd4049faadcb5deec58fb6fc
-source=(git+${url}#commit=${_commit})
-sha256sums=(SKIP)
-
-pkgver() {
- cd ${pkgname}
- git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./;s/-/+/'
-}
-
-build() {
- cmake -B build -S ${pkgname} \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -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_LTO=ON \
- -DOPENDHT_INDEX=ON \
- -DOPENDHT_PYTHON=ON \
- -DOPENDHT_HTTP=ON \
- -DOPENDHT_PROXY_SERVER=ON \
- -DOPENDHT_PROXY_CLIENT=ON \
- -DOPENDHT_PUSH_NOTIFICATIONS=ON
- make -C build
-}
-
-check() {
- # https://github.com/savoirfairelinux/opendht/issues/568
- make -C build test || echo "Tests failed"
-}
-
-package() {
- make -C build DESTDIR="${pkgdir}" install
-}
Copied: opendht/repos/community-x86_64/PKGBUILD (from rev 1133504, opendht/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-16 19:59:08 UTC (rev 1133505)
@@ -0,0 +1,52 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+
+pkgname=opendht
+epoch=1
+pkgver=2.3.2
+pkgrel=1
+pkgdesc="C++14 Distributed Hash Table (DHT) implementation"
+arch=(x86_64)
+url="https://github.com/savoirfairelinux/opendht"
+license=(GPL3)
+depends=(glibc gnutls nettle readline argon2 jsoncpp libjsoncpp.so fmt http-parser openssl)
+makedepends=(git cmake msgpack-c msgpack-cxx asio restinio cython python-setuptools)
+checkdepends=(cppunit)
+optdepends=('python: to use the Python bindings')
+_commit=db000a2f8849584f84a26cba8583a188741e0418
+source=(git+${url}#commit=${_commit})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd ${pkgname}
+ git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./;s/-/+/'
+}
+
+build() {
+ cmake -B build -S ${pkgname} \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -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_LTO=ON \
+ -DOPENDHT_INDEX=ON \
+ -DOPENDHT_PYTHON=ON \
+ -DOPENDHT_HTTP=ON \
+ -DOPENDHT_PROXY_SERVER=ON \
+ -DOPENDHT_PROXY_CLIENT=ON \
+ -DOPENDHT_PUSH_NOTIFICATIONS=ON
+ make -C build
+}
+
+check() {
+ # https://github.com/savoirfairelinux/opendht/issues/568
+ make -C build test || echo "Tests failed"
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list