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

Baptiste Jonglez zorun at archlinux.org
Fri Nov 2 09:31:36 UTC 2018


    Date: Friday, November 2, 2018 @ 09:31:35
  Author: zorun
Revision: 401204

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-02 09:31:15 UTC (rev 401203)
+++ PKGBUILD	2018-11-02 09:31:35 UTC (rev 401204)
@@ -1,58 +0,0 @@
-# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
-pkgname=opendht
-pkgver=1.7.4
-pkgrel=2
-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=('d82601b31841c611c7a6e65bd7b63e8d21a6961b0db64b8fbc518c9574c52745')
-sha512sums=('be526c696f51471f58278ed53b0167311c2c0dca1db87da711bad9987922a6b5608a71508bd36011da27b3438964a3ee2406439c17c77db8c157c65222faa04e')
-
-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 401203, opendht/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-02 09:31:35 UTC (rev 401204)
@@ -0,0 +1,58 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=opendht
+pkgver=1.7.4
+pkgrel=3
+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=('d82601b31841c611c7a6e65bd7b63e8d21a6961b0db64b8fbc518c9574c52745')
+sha512sums=('be526c696f51471f58278ed53b0167311c2c0dca1db87da711bad9987922a6b5608a71508bd36011da27b3438964a3ee2406439c17c77db8c157c65222faa04e')
+
+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