updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / mimon / PKGBUILD
blob076182d269439f4c56a77a71f6b9635da7aefc78
1 # Contributor: Daniel Milde <info@milde.cz>
3 pkgname=mimon
4 pkgver=0.2.6
5 pkgrel=1
6 pkgdesc="Minimalistic load monitor"
7 url="https://launchpad.net/mimon"
8 license=(GPL)
9 arch=('i686' 'x86_64')
10 depends=('python' 'rrdtool')
11 source=("http://launchpad.net/mimon/trunk/0.2.6/+download/mimon-0.2.6.tar.gz"
12                 "mimon")
13 md5sums=('177b2e39cbe46558032a96b1669b2dc6'
14                  '0cf2c66a6416008a029d7f54b7b16d2e')
16 build() {
17         cd $srcdir/$pkgname-$pkgver
18         
19         python setup.py install --root=$startdir/pkg
20         
21         install -D -m755 ./mimond ${pkgdir}/usr/bin/mimond
22         install -D -m755 ./mimon-graph ${pkgdir}/usr/bin/mimon-graph
23         
24         install -D -m644 ./mimon.conf ${pkgdir}/etc/mimon.conf
25         install -D -m755 ../../mimon  ${pkgdir}/etc/rc.d/mimon
26         
27         install -d ${pkgdir}/var/lib/mimon