1 # Contributor: Tibor Bamhor <tiborb95 at gmail.com>
6 pkgdesc="Deamon that modifies process priorities (CPU and disk I/O) and limits CPU utilization on the fly"
7 url="http://code.google.com/p/dtboost/"
11 optdepends=('cpulimit: CPU use limit per process')
12 install=(${pkgname}.install)
13 backup=('etc/dtboost.conf')
14 source=(http://dtboost.googlecode.com/files/dtboost-$pkgver.tar.gz)
16 md5sums=('22448a07b7d4cdd48fbb18d071d18b53')
19 #mkdir $startdir/src/$pkgname-$pkgver
21 rm -rf $startdir/pkg/*
23 #chmod 755 dtboost-$pkgver.py
24 mkdir -p $startdir/pkg/usr/share/dtboost/
25 #cp $startdir/src/dtboost-$pkgver.py $startdir/pkg/usr/share/dtboost/dtboost.py || exit 1
26 install -m 744 $startdir/src/dtboost-$pkgver.py $startdir/pkg/usr/share/dtboost/dtboost.py || exit 1
29 #chmod 755 dtboost.initscript
30 mkdir -p $startdir/pkg/etc/rc.d/
31 #cp dtboost.initscript $startdir/pkg/etc/rc.d/dtboost || exit 1
32 install -m 744 dtboost.initscript $startdir/pkg/etc/rc.d/dtboost || exit 1
35 mkdir -p $startdir/pkg/etc/rc.d/
36 #cp config $startdir/pkg/etc/dtboost.conf || exit 1
37 install -m 644 config $startdir/pkg/etc/dtboost.conf || exit 1