updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / powertop-sysfs / PKGBUILD
blob4ca7500110c72e678da8874cd3bc8565724bf237
1 # $Id: PKGBUILD 24103 2010-08-19 22:45:29Z heftig $
2 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 # Contributor: Alexander Fehr <pizzapunk gmail com>
4 # Contributor: Xilon <xilonmu@gmail.com>
6 # Maintainer: Lukas Barth <mail@tinloaf.de>
7 pkgname=powertop-sysfs
8 pkgver=1.13
9 pkgrel=2
10 pkgdesc="Powertop 1 fixed to work with sysfs and 3.0.6 kernel"
11 arch=('i686' 'x86_64')
12 url="http://www.lesswatts.org/projects/powertop/"
13 license=('GPL2')
14 depends=('ncurses')
15 conflicts=('powertop')
16 replaces=('powertop')
17 source=(http://www.lesswatts.org/projects/powertop/download/powertop-$pkgver.tar.gz
18         powertop-$pkgver-with-3.0.6.patch)
19 md5sums=('78aa17c8f55178004223bf236654298e'
20         '2b4c9d75fb0f5c96bcd549bcbbeb9c9d')
22 build() {
23   cd "$srcdir/powertop-$pkgver"
24   patch -p1 < ../powertop-$pkgver-with-3.0.6.patch
25   make
28 package() {
29   cd "$srcdir/powertop-$pkgver"
30   make DESTDIR="$pkgdir" install