1 # Old Maintainer: lolo <hl.cd@laposte.net>
2 # Maintainer: archist <archist@gmx.de>
7 pkgdesc="A daemon which controls the frequency and voltage of CPUs. This userland program adjusts the frequency and voltage (including over-/undervolting) according to the CPUs load. Currently it supports only AMD K8 processors like Athlon(64) (X2), Sempron ...."
9 url="http://sourceforge.net/projects/cpupowerd"
12 install="$pkgname.install"
13 backup=(etc/cpupowerd.conf)
15 source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz cpupowerd cpupowerd.conf)
16 md5sums=('219b95de8c53622a9fdb8b5bfeba29e3' '5a8402e23df004c8ab9a0a6b5d0e5b24' '9f2fc44c109364931931444cd6f5c72b')
19 cd $startdir/src/$pkgname-$pkgver/src
21 mkdir -p $startdir/pkg/usr/sbin
22 install -m 755 $startdir/src/$pkgname-$pkgver/src/cpupowerd $startdir/pkg/usr/sbin
23 mkdir -p $startdir/pkg/usr/share/cpupowerd
24 install -m 755 $startdir/src/$pkgname-$pkgver/README $startdir/pkg/usr/share/cpupowerd
25 mkdir -p $startdir/pkg/etc
26 install -m 755 $startdir/cpupowerd.conf $startdir/pkg/etc
27 mkdir -p $startdir/pkg/etc/rc.d
28 install -m 755 $startdir/cpupowerd $startdir/pkg/etc/rc.d