1 # Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
2 # http://github.com/fukawi2/aur-packages
7 pkgdesc="Mass ssh'er that allows for parallel execution of commands on remote systems"
9 url="http://m.a.tt/er/massh.html"
12 source=("http://m.a.tt/er/$pkgname.tgz"
14 md5sums=('edd5a0eb9d07af068474873145359e66'
15 '5990a49e673c0fda73a446bb7e562ddd')
18 msg "Nothing to compile for $pkgname"
22 cd "$srcdir/$pkgname-$pkgver"
25 ( cd "usr/" && patch -p0 < "$srcdir/fix-paths.patch" )
27 mkdir -p $pkgdir/{etc,usr/{bin,share/doc/$pkgname},var/massh}
29 cp usr/local/bin/* $pkgdir/usr/bin/
30 cp usr/local/etc/* $pkgdir/etc/
31 cp usr/local/share/doc/massh/* $pkgdir/usr/share/doc/$pkgname/
33 # Create some example files
34 cat > $pkgdir/var/$pkgname/script.time << EOT
38 # Author: Michael Marschall
39 # Modified: 2008.04.25
41 # I use this to check massh's script pushing and executing.
42 date +%Y%m%d%H%M > time.txt
45 chmod 755 $pkgdir/var/$pkgname/script.time
47 cat > $pkgdir/var/$pkgname/hosts.all << EOT
50 web[1..4].mydomain.com
55 cat > $pkgdir/var/$pkgname/file.motd << EOT
56 You are logged into a machine managed by maash
61 # vim:set ts=2 sw=2 et: