diff options
Diffstat (limited to 'community/powertop/PKGBUILD')
-rw-r--r-- | community/powertop/PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/community/powertop/PKGBUILD b/community/powertop/PKGBUILD index 8a00e25f6..e85e59349 100644 --- a/community/powertop/PKGBUILD +++ b/community/powertop/PKGBUILD @@ -1,21 +1,27 @@ -# $Id: PKGBUILD 24103 2010-08-19 22:45:29Z heftig $ +# $Id: PKGBUILD 67110 2012-03-04 12:47:55Z stativ $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Alexander Fehr <pizzapunk gmail com> # Contributor: Xilon <xilonmu@gmail.com> pkgname=powertop pkgver=1.13 -pkgrel=2 +pkgrel=3 pkgdesc="Tool that finds the software that makes your laptop use more power than necessary" arch=('i686' 'x86_64' 'mips64el') url="http://www.lesswatts.org/projects/powertop/" license=('GPL2') depends=('ncurses') -source=(http://www.lesswatts.org/projects/powertop/download/$pkgname-$pkgver.tar.gz) -md5sums=('78aa17c8f55178004223bf236654298e') +source=(http://www.lesswatts.org/projects/powertop/download/$pkgname-$pkgver.tar.gz \ + powertop-1.13-with-3.0.6.patch) +md5sums=('78aa17c8f55178004223bf236654298e' + '2b4c9d75fb0f5c96bcd549bcbbeb9c9d') build() { cd "$srcdir/powertop-$pkgver" + + # fix the reported batery usage on recent kernels + patch -Np1 < "$srcdir/powertop-1.13-with-3.0.6.patch" || true + make } |