updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / cpupower / PKGBUILD
blob6aa5f2b4971f7a91441b0475c5ea6df489d223be
1 # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
3 pkgname=cpupower
4 pkgver=3.1.2
5 pkgrel=1
6 pkgdesc="Linux kernel $pkgver cpupower tool"
7 license=('GPL2')
8 arch=('i686' 'x86_64')
9 url='http://www.kernel.org'
10 backup=('etc/conf.d/cpupower')
11 options=(!strip !buildflags)
12 conflicts=('cpufrequtils')
13 provides=("cpufrequtils=$pkgver")
14 source=(
15   "http://ftp.kernel.org/pub/linux/kernel/v3.0/linux-$pkgver.tar.xz"
16   'rc'
17   'conf'
19 md5sums=('24027361d3ea6ea2cdd7bbdd2effe43f'
20          'd8b119eff7dc1a2d655eb71a47fa6215'
21          '218fd36a7957d3170ed8bd1a0be1f62f')
23 build() {
24   cd linux-$pkgver/tools/power/cpupower
25   make
28 package() {
29   cd linux-$pkgver/tools/power/cpupower
30   make \
31     DESTDIR="$pkgdir" \
32     INSTALL='/bin/install -c' \
33     mandir='/usr/share/man' \
34     docdir='/usr/share/doc/cpupower' \
35     install install-man
36   # install rc.d script
37   install -D -m 755 "$srcdir/rc" "$pkgdir/etc/rc.d/cpupower"
38   install -D -m 644 "$srcdir/conf" "$pkgdir/etc/conf.d/cpupower"
41 # vim:set ts=2 sw=2 ft=sh et: