summaryrefslogtreecommitdiff
path: root/pcr/pdsh/PKGBUILD
blob: 68bfaa22ae57ea4d58b8025298b92204e31a6037 (plain)
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
# Contributor (Arch): drrossum <d.r.vanrossum at gmx.de>
# Contributor (Arch): sh0 <mee@sh0.org>
# Maintainer : AurÃelien Desbrieres <aurelien@xload.io>

pkgname=pdsh
pkgver=2.29
pkgrel=2
pkgdesc='Parallel Distributed Shell'
url='http://code.google.com/p/pdsh/'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc' 'openssh' 'readline')
optdepends=('perl: required by the dshbak utility')
options=('libtool')
source=("http://pdsh.googlecode.com/files/$pkgname-$pkgver.tar.bz2")
md5sums=('e3512d03e491de6f1a735ab0ff702108')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --mandir=/usr/share/man \
              --without-rsh \
              --with-ssh \
              --with-dshgroups \
              --with-readline || return 1
  make || return 1
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}/" install || return 1
  rmdir "${pkgdir}/usr/sbin"
}

# vim:set ts=2 sw=2 et: