# Contributor: Johannes Matheis # Maintainer: Johannes Matheis pkgname=pssh pkgver=2.3.1 pkgrel=3 pkgdesc="PSSH provides parallel versions of OpenSSH and related tools: pssh, pscp, prsync, pnuke, and pslurp" url="https://code.google.com/p/parallel-ssh/" arch="noarch" license="BSD-3-Clause" depends="python3 cmd:ssh" makedepends="py3-setuptools" subpackages="$pkgname-doc" source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/parallel-ssh/pssh-$pkgver.tar.gz python3.patch " prepare() { default_prepare sed -i -e "s|man/man1'|share/&|g" setup.py } build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" install -d "$pkgdir"/usr/libexec/pssh mv "$pkgdir"/usr/bin/pssh-askpass "$pkgdir"/usr/libexec/pssh } sha512sums="c39e1c2b0a3bc2bd736f1e7d2f402db6a128e81d6a80ce7e97f39e7fae93f7a20037b43b5725bed5ba911f54e36a9b65c509d858a53c696989b76b1322e7680f pssh-2.3.1.tar.gz d37666fcf8a274a594c8f16c69e569aa6c8bd9d9496ea47657f3267c1b4d3ed2a0c106c365f5e0631fbb51f2bcfacc78a2c708d8a62f3ce2ea018e8c185b16f9 python3.patch"