aboutsummaryrefslogtreecommitdiffstats
path: root/main/pssh/APKBUILD
blob: 36c6d3c83c6a43e3f74a17ef44facb147ede92b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=pssh
pkgver=2.3.1
pkgrel=0
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"
depends="python"
depends_dev=""
makedepends="python-dev"
install=""
subpackages="$pkgname-doc"
source="https://parallel-ssh.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"

_builddir="${srcdir}"/"${pkgname}"-"${pkgver}"
prepare() {
   local i
   cd "$_builddir"
   for i in $source; do
       case $i in
       *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
       esac
   done
}

build() {
   cd "$_builddir"
   python setup.py build || return 1
}

package() {
   cd "$_builddir"
   python setup.py install --prefix=/usr --root="$pkgdir" || return 1

   install -d "${pkgdir}"/usr/libexec/pssh
   mv "${pkgdir}"/usr/bin/pssh-askpass "${pkgdir}"/usr/libexec/pssh

   install -d "${pkgdir}"/usr/share
   mv "${pkgdir}"/usr/man  "${pkgdir}"/usr/share
}

md5sums="53e70d53064f658bf8f44880340e8e5c  pssh-2.3.1.tar.gz"
sha256sums="539f8d8363b722712310f3296f189d1ae8c690898eca93627fc89a9cb311f6b4  pssh-2.3.1.tar.gz"
sha512sums="c39e1c2b0a3bc2bd736f1e7d2f402db6a128e81d6a80ce7e97f39e7fae93f7a20037b43b5725bed5ba911f54e36a9b65c509d858a53c696989b76b1322e7680f  pssh-2.3.1.tar.gz"