1 # Maintainer: Stefan Seemayer <mail@semicolonsoftware.de>
5 pkgdesc="Poor-man's grid computing via SSH"
7 url="https://github.com/sseemayer/SSHGrid"
10 depends=(perl openssh)
22 _gitroot="git://github.com/sseemayer/SSHGrid.git"
23 _gitname="sshgrid-gitrepo"
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
33 git clone $_gitroot $_gitname
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf "$srcdir/$_gitname-build"
40 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
47 perl Build.PL installdirs=vendor destdir="$pkgdir/"
52 cd "$srcdir/$_gitname-build"