[arch-commits] Commit in opendht (5 files)

Baptiste Jonglez zorun at archlinux.org
Sun May 14 16:41:54 UTC 2017


    Date: Sunday, May 14, 2017 @ 16:41:54
  Author: zorun
Revision: 228018

archrelease: copy trunk to community-i686, community-x86_64

Added:
  opendht/repos/
  opendht/repos/community-i686/
  opendht/repos/community-i686/PKGBUILD
    (from rev 228017, opendht/trunk/PKGBUILD)
  opendht/repos/community-x86_64/
  opendht/repos/community-x86_64/PKGBUILD
    (from rev 228017, opendht/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: opendht/repos/community-i686/PKGBUILD (from rev 228017, opendht/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2017-05-14 16:41:54 UTC (rev 228018)
@@ -0,0 +1,42 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=opendht
+pkgver=1.3.3
+pkgrel=1
+epoch=1
+pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
+arch=('i686' 'x86_64')
+depends=('gnutls' 'nettle' 'readline' 'argon2')
+makedepends=('msgpack-c' 'cmake' 'cython')
+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=('0ba0d3eedd38e1e6d1d62ae8a4181a5beb4b18b508145e40f9759fc687bc881d')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  msg2 'Building...'
+  mkdir -p build
+  cd build
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DOPENDHT_PYTHON=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+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 228017, opendht/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2017-05-14 16:41:54 UTC (rev 228018)
@@ -0,0 +1,42 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=opendht
+pkgver=1.3.3
+pkgrel=1
+epoch=1
+pkgdesc="A C++11 implementation of the Kademlia DHT (Distributed Hash Table)"
+arch=('i686' 'x86_64')
+depends=('gnutls' 'nettle' 'readline' 'argon2')
+makedepends=('msgpack-c' 'cmake' 'cython')
+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=('0ba0d3eedd38e1e6d1d62ae8a4181a5beb4b18b508145e40f9759fc687bc881d')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  msg2 'Building...'
+  mkdir -p build
+  cd build
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DOPENDHT_PYTHON=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+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