summaryrefslogtreecommitdiff
path: root/pcr/opendht/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-02-07 17:01:47 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-02-07 17:01:47 -0500
commit852cadadb966393b1d8bf62cc7f877e7a129e39f (patch)
tree05357e912006dd1dfab3cf49eb56ad34ab74a54d /pcr/opendht/PKGBUILD
parent9afe4657f41aed52ff1e98d39b0d4850b8477a21 (diff)
downloadabslibre-852cadadb966393b1d8bf62cc7f877e7a129e39f.tar.gz
abslibre-852cadadb966393b1d8bf62cc7f877e7a129e39f.tar.bz2
abslibre-852cadadb966393b1d8bf62cc7f877e7a129e39f.zip
add pcr/opendht
Diffstat (limited to 'pcr/opendht/PKGBUILD')
-rw-r--r--pcr/opendht/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/opendht/PKGBUILD b/pcr/opendht/PKGBUILD
new file mode 100644
index 000000000..55cd9bef9
--- /dev/null
+++ b/pcr/opendht/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
+
+pkgname=opendht
+pkgver=1.3.0
+pkgdesc="A C++11 Kademlia Distributed Hash Table implementation"
+url="https://github.com/savoirfairelinux/opendht"
+license=('GPL3')
+
+pkgrel=1
+arch=('i686' 'x86_64')
+depends=('gnutls')
+makedepends=('msgpack-c' 'doxygen' 'graphviz' 'cython')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/savoirfairelinux/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('c8f0709678243bdf02f941fdde5366b4')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./autogen.sh
+ ./configure --prefix=/usr --enable-doc
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ install -d "$pkgdir/usr/share/doc/$pkgname"
+ cp -r doc/html "$pkgdir/usr/share/doc/$pkgname"
+}