1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A distributed process launcher and manager for GNU/Linux"
8 url="http://tarballs.quessy.net/"
11 makedepends=('help2man' 'epydoc>=3.0.1')
12 install="$pkgname.install"
13 source=($url$pkgname-$pkgver.tar.gz)
14 md5sums=('df7c502b227e9d862d4b8d7449277233')
17 cd "$srcdir/$pkgname-$pkgver"
20 sed -i "s|env python|&2|g" `grep -Erl "env python" .`
23 sed -e "s|python|&2|g;s|/local||g;s|prefix.*|& --root=$pkgdir|" \
24 -e "s|/usr/|$pkgdir&|g;s|\tinstall|& -Dm644|g;s|ns/|&lunch.desktop|" \
31 cd "$srcdir/$pkgname-$pkgver"
33 make DESTDIR="$pkgdir/" install
35 # Install doc and examples
36 install -d "$pkgdir/usr/share/"{doc/,}$pkgname
37 cp -a *html* "$pkgdir/usr/share/doc/$pkgname"
38 cp -a examples "$pkgdir/usr/share/$pkgname"
41 # vim:set ts=2 sw=2 et: