[arch-commits] Commit in opendht/repos/community-x86_64 (PKGBUILD PKGBUILD)

Baptiste Jonglez zorun at archlinux.org
Sat May 12 00:56:05 UTC 2018


    Date: Saturday, May 12, 2018 @ 00:56:04
  Author: zorun
Revision: 320920

archrelease: copy trunk to community-x86_64

Added:
  opendht/repos/community-x86_64/PKGBUILD
    (from rev 320919, opendht/trunk/PKGBUILD)
Deleted:
  opendht/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-12 00:55:50 UTC (rev 320919)
+++ PKGBUILD	2018-05-12 00:56:04 UTC (rev 320920)
@@ -1,58 +0,0 @@
-# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
-pkgname=opendht
-pkgver=1.7.1
-pkgrel=1
-epoch=1
-pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
-arch=('x86_64')
-depends=('gnutls' 'nettle' 'readline' 'argon2' 'jsoncpp' 'restbed')
-makedepends=('msgpack-c' 'cmake' 'cython' 'systemd' 'cppunit')
-optdepends=('python: to use the Python bindings')
-url="https://github.com/savoirfairelinux/opendht"
-license=('GPL3')
-source=("https://github.com/savoirfairelinux/opendht/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('411d8ceeefed6837e426638a8d4de3e16bf91647ef244014fc2cbbb39805f397')
-sha512sums=('259eacd018254a7bb72e56f107f88a3ada2853229e8c9f810e85343e5d689b710155cacaf16009973afe0c2d48a1a58153765fefe60de1b145aef5bcc9b52b47')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  msg2 'Building...'
-  mkdir -p build
-  cd build
-  cmake .. \
-    -DCMAKE_BUILD_TYPE=None \
-    -DOPENDHT_TESTS=ON \
-    -DOPENDHT_DOCUMENTATION=OFF \
-    -DOPENDHT_STATIC=OFF \
-    -DOPENDHT_SYSTEMD=ON \
-    -DOPENDHT_LTO=ON \
-    -DOPENDHT_TOOLS=ON \
-    -DOPENDHT_PYTHON=ON \
-    -DOPENDHT_PROXY_SERVER=ON \
-    -DOPENDHT_PROXY_CLIENT=ON \
-    -DOPENDHT_PUSH_NOTIFICATIONS=ON \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  make
-}
-
-check() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  cd build
-  make test
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  msg2 'Installing...'
-  cd build
-  make DESTDIR="$pkgdir" install
-  cd ..
-
-  msg2 'Installing documentation...'
-  install -D -m644 README.md "${pkgdir}/usr/share/doc/opendht/README.md"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: opendht/repos/community-x86_64/PKGBUILD (from rev 320919, opendht/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-12 00:56:04 UTC (rev 320920)
@@ -0,0 +1,58 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=opendht
+pkgver=1.7.2
+pkgrel=1
+epoch=1
+pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
+arch=('x86_64')
+depends=('gnutls' 'nettle' 'readline' 'argon2' 'jsoncpp' 'restbed')
+makedepends=('msgpack-c' 'cmake' 'cython' 'systemd' 'cppunit')
+optdepends=('python: to use the Python bindings')
+url="https://github.com/savoirfairelinux/opendht"
+license=('GPL3')
+source=("https://github.com/savoirfairelinux/opendht/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('5030f011eba421f67847ee94d906aabbdf409268cdc1119e15bb8f2863ed0bbc')
+sha512sums=('dcb70c8f38f067f1035cbfdc7897a8245bacaef547afa48652e56e39e4641f7bb1ea6bc2bf3e46f8454cdbe3743eab318eca9fb6a02921d5f5fa792748a14cd1')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  msg2 'Building...'
+  mkdir -p build
+  cd build
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=None \
+    -DOPENDHT_TESTS=ON \
+    -DOPENDHT_DOCUMENTATION=OFF \
+    -DOPENDHT_STATIC=OFF \
+    -DOPENDHT_SYSTEMD=ON \
+    -DOPENDHT_LTO=ON \
+    -DOPENDHT_TOOLS=ON \
+    -DOPENDHT_PYTHON=ON \
+    -DOPENDHT_PROXY_SERVER=ON \
+    -DOPENDHT_PROXY_CLIENT=ON \
+    -DOPENDHT_PUSH_NOTIFICATIONS=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd build
+  make test
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  msg2 'Installing...'
+  cd build
+  make DESTDIR="$pkgdir" install
+  cd ..
+
+  msg2 'Installing documentation...'
+  install -D -m644 README.md "${pkgdir}/usr/share/doc/opendht/README.md"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list