1 # Maintainer: Daniele Paolella <dp@mcrservice.it>
2 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
6 pkgdesc='A system for controlling process state under UNIX'
8 url='http://supervisord.org'
10 depends=('python2' 'setuptools' 'meld3>=0.6.5')
11 backup=('etc/supervisord.conf')
13 source=("http://pypi.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz"
15 md5sums=('99c6fbd45bade87301296b7a597fb68e'
16 'de39a63165fb7a796156b6924e8789a1')
19 cd "$srcdir/$pkgname-$pkgver"
20 python2 setup.py install --prefix=/usr --root=$pkgdir
21 install -D -m600 "$srcdir/$pkgname-$pkgver/build/lib/$pkgname/skel/sample.conf" \
22 "$pkgdir/etc/supervisord.conf"
23 install -D "$srcdir/supervisor" "$pkgdir/etc/rc.d/supervisor"
24 mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
25 mv "$pkgdir/usr/doc/COPYRIGHT.txt" "$pkgdir/usr/share/licenses/$pkgname"
26 mv "$pkgdir/usr/doc/LICENSES.txt" "$pkgdir/usr/share/licenses/$pkgname"
27 mkdir -p "$pkgdir/usr/share/doc"
28 mv "$pkgdir/usr/doc" "$pkgdir/usr/share/doc/$pkgname"
31 # vim:set ts=2 sw=2 et: