updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / cpudyn / PKGBUILD
blob54948ef96dc3bc58eb5bb5a0af87ee4300a13608
1 # Contributor: Kevin Piche <kevin@archlinux.org>
3 pkgname=cpudyn
4 pkgver=1.0.1
5 pkgrel=3
6 pkgdesc="CPU dynamic frequency control"
7 url="http://mnm.uib.es/~gallir/cpudyn"
8 arch=('i686' 'x86_64')
9 license=('GPL2')
10 depends=('glibc')
11 backup=(etc/conf.d/cpudyn)
12 source=($url/download/$pkgname-$pkgver.tgz cpudyn.confd cpudyn.rc)
13 md5sums=('670d32eb953f99ba04aee44848864228'
14                                  '0d6226a3594bbd526d98d704440c987b'
15                                  '8ab37c6554adea48f075b28a40b75b2b')
17 build() {
18         cd $srcdir/$pkgname
19         make || return 1
20         install -D -m755 cpudynd $pkgdir/usr/sbin/cpudynd
21         install -D -m644 cpudynd.8.gz $pkgdir/usr/share/man/man8/cpudynd.8.gz
22         install -D -m755 $srcdir/cpudyn.rc $pkgdir/etc/rc.d/cpudyn
23         install -D -m644 $srcdir/cpudyn.confd $pkgdir/etc/conf.d/cpudyn