updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / ioniced / PKGBUILD
blob9a92713abf49ede4daa7d7e05e399c1b6097fcab
1 # contributor: Jan Mette (funkyou) <spam-o-mat @ nickname.berlin.de>
3 pkgname=ioniced
4 pkgver=1.1
5 pkgrel=1
6 pkgdesc="I/O priority daemon"
7 arch=(i686 x86_64)
8 url="http://www.hauke-laging.de/software/ioniced/"
9 license="GPL"
10 depends=('perl' 'ionice')
12 install=ioniced.install
13 source=('ioniced.pl' 'ioniced.rc' 'iops.sh')
15 md5sums=('455ea67e274a5f7d0f424f05655cac01'
16          '8222a512d748fc41dec833da8a856aa0'
17          '35ddcaa9338fed47be8e920549bed0f2')
19 build() {
20         
21         # install daemon
22         install -D -m755 -o root -g root $startdir/src/ioniced.rc $startdir/pkg/etc/rc.d/ioniced
23         
24         # install init script
25         install -D -m755 -o root -g root $startdir/src/ioniced.pl $startdir/pkg/sbin/ioniced
26         
27         # install iops
28         install -D -m755 -o root -g root $startdir/src/iops.sh $startdir/pkg/bin/iops
29         
30         }