updated on Wed Jan 11 20:01:35 UTC 2012
[aur-mirror.git] / supervisor / PKGBUILD
blobf73615c505e3d9777d50c49b2146d0e9434e8a3e
1 # Maintainer: Daniele Paolella <dp@mcrservice.it>
2 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
3 pkgname=supervisor
4 pkgver=3.0a10
5 pkgrel=1
6 pkgdesc='A system for controlling process state under UNIX'
7 arch=('any')
8 url='http://supervisord.org'
9 license=('custom')
10 depends=('python2' 'setuptools' 'meld3>=0.6.5')
11 backup=('etc/supervisord.conf')
12 changelog=ChangeLog
13 source=("http://pypi.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz"
14         'supervisor')
15 md5sums=('99c6fbd45bade87301296b7a597fb68e'
16          'de39a63165fb7a796156b6924e8789a1')
18 build() {
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: