summaryrefslogtreecommitdiffstats
path: root/abs/extra/cpufreqd/PKGBUILD
blob: fd6d54451b9f0ed02b6b75071bca448d4f2c19c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 60269 2009-12-02 16:30:29Z giovanni $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: Manolis Tzanidakis <manolis@archlinux.org>

pkgname=cpufreqd
pkgver=2.4.2
pkgrel=1
pkgdesc="A small daemon to adjust cpu speed (and indeed voltage)"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/cpufreqd"
license=('GPL2')
depends=('cpufrequtils')
install="$pkgname.install"
backup=(etc/cpufreqd.conf)
options=('!libtool')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
	'cpufreqd')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr \
    --sysconfdir=/etc
  make || return 1
  make DESTDIR=$pkgdir install

  install -D -m 755 $srcdir/cpufreqd $pkgdir/etc/rc.d/cpufreqd || return 1
}
md5sums=('2ca80a77849c9a69b81e27c1843c97f5'
         'ae7b0ec1e8e9f9e7f05fb83749af4ed4')