updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / dtboost / PKGBUILD
blob3f92d8724c37b9c685e6b73cc20e59649faf13ee
1 # Contributor: Tibor Bamhor <tiborb95 at gmail.com>
3 pkgname=dtboost
4 pkgver=1.6.13
5 pkgrel=2
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/"
8 license="GPL-3"
9 arch=('i686' 'x86_64')
10 depends=(python2)
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')
18 build() {
19         #mkdir  $startdir/src/$pkgname-$pkgver
20         
21         rm -rf $startdir/pkg/*
22         
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
27         
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
33         
34         #chmod 555 config
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
38