summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e78448a4779c2b9764030a918e19eb21e5e0dfef (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
35
# Maintainer: drrossum <d.r.vanrossum at gmx.de>
# Contributor: sh0 <mee@sh0.org>

pkgname=pdsh
pkgver=2.32
pkgrel=1
pkgdesc='Parallel Distributed Shell'
url='https://github.com/grondo/pdsh'
arch=('i686' 'x86_64')
license=('GPL')
depends=('glibc' 'openssh' 'readline')
makedepends=('autoconf')
optdepends=('perl: required by the dshbak utility')
options=('libtool')
source=("https://github.com/grondo/pdsh/archive/pdsh-2.32.tar.gz")
md5sums=('3af36658154e2983c9e4067f91672c54')

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

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

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