# Maintainer: Erich Eckner # Contributor: Jaroslav Lichtblau # Contributor: Elis Hughes pkgname=pssh-git pkgver=2.3.4+7+gc33a7fe _commit="${pkgver##*+g}" pkgrel=1 pkgdesc="Parallel versions of the openssh tools ssh, scp, rsync, nuke, slurp" arch=('any') url="http://code.google.com/p/parallel-ssh/" license=('BSD') depends=( 'python>=3.9' 'python<3.10' 'openssh' ) makedepends=('git' 'python-setuptools') provides=('pssh') conflicts=('pssh') source=(git+https://github.com/lilydjwg/pssh.git#commit=${_commit}) sha512sums=('SKIP') pkgver() { cd "${srcdir}/pssh" git describe --long --tags ${_commit} | \ sed ' s/^v// y/-/+/ ' } package() { cd "${srcdir}/pssh" python setup.py install --root "${pkgdir}" # fix putty pscp file conflict mv "${pkgdir}"/usr/bin/pscp "${pkgdir}"/usr/bin/psshscp mv "${pkgdir}"/usr/share/man/man1/pscp.1 "${pkgdir}"/usr/share/man/man1/psshscp.1 # license install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/COPYING }