# Maintainer: Det # Contributor: Pedro Alejandro López-Valencia pkgname=vuze-plugin-mldht _name=mlDHT pkgver=1.5.9 pkgrel=1 pkgdesc="A plugin for the alternative Distributed Hash Table implementation (DHT) used by µTorrent" arch=('any') url="http://plugins.vuze.com/details/$_name" license=('GPL2') depends=('vuze') source=("http://plugins.vuze.com/plugins/${_name}_$pkgver.jar") noextract=("${_name}_$pkgver.jar") md5sums=('0a18eb80e8533731a2011ce2cf4b5e19') package () { for i in /opt/vuze*; do if [[ -f $i/Azureus2.jar ]]; then install -Dm644 ${_name}_$pkgver.jar \ "$pkgdir"/$i/plugins/$_name/${_name}_$pkgver.jar fi done }