diff options
Diffstat (limited to 'pcr/opendht/PKGBUILD')
-rw-r--r-- | pcr/opendht/PKGBUILD | 31 |
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" +} |