[arch-commits] Commit in opendht/repos/community-x86_64 (PKGBUILD PKGBUILD)
Baptiste Jonglez
zorun at archlinux.org
Wed Feb 21 22:38:31 UTC 2018
Date: Wednesday, February 21, 2018 @ 22:38:28
Author: zorun
Revision: 296848
archrelease: copy trunk to community-x86_64
Added:
opendht/repos/community-x86_64/PKGBUILD
(from rev 296847, opendht/trunk/PKGBUILD)
Deleted:
opendht/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-21 22:37:40 UTC (rev 296847)
+++ PKGBUILD 2018-02-21 22:38:28 UTC (rev 296848)
@@ -1,49 +0,0 @@
-# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
-pkgname=opendht
-pkgver=1.6.0rc1
-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')
-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=('9c0d46399182e6d701854efa95fd225a541b5ed743a1f2c3c0f22125e4bd65e2')
-sha512sums=('7db850afe9eebd580c7be97f591d8d3f36828387a9aedbd3c5ca48212251f9e650131dd6d81cd487ae3e58212f106abf6ea2a16e710297068778ffd25c8ebbd9')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- msg2 'Building...'
- mkdir -p build
- cd build
- cmake .. \
- -DCMAKE_BUILD_TYPE=Release \
- -DOPENDHT_STATIC=OFF \
- -DOPENDHT_SYSTEMD=ON \
- -DOPENDHT_LTO=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
-}
-
-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 296847, opendht/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-21 22:38:28 UTC (rev 296848)
@@ -0,0 +1,49 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=opendht
+pkgver=1.6.0rc2
+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')
+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=('1e561e92ae7aacc2591b36caed89ca6701b30a43af6b046090f48c765b3ace06')
+sha512sums=('c12763350d63a63122fcfbe52d3d17644279f24a8ae3154db0e4924f050c4c32c027a238ea79940e647ab538f8aaa87f2bed139f6404551c27ca637e25ebdd86')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ msg2 'Building...'
+ mkdir -p build
+ cd build
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DOPENDHT_STATIC=OFF \
+ -DOPENDHT_SYSTEMD=ON \
+ -DOPENDHT_LTO=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
+}
+
+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