1 # $Id: PKGBUILD 24103 2010-08-19 22:45:29Z heftig $
2 # Maintainer: Lukas Barth <mail+aur@tinloaf.de>
3 # Former Maintainaer: Mika Hynnä <igheax gmail com>
4 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
5 # Contributor: Alexander Fehr <pizzapunk gmail com>
6 # Contributor: Xilon <xilonmu@gmail.com>
11 pkgdesc="Tool that finds the software that makes your laptop use more power than necessary. Beta release."
12 arch=('i686' 'x86_64')
13 url="http://www.kernel.org/pub/linux/status/powertop/"
15 depends=('libnl' 'ncurses' 'zlib')
16 source=(http://ftp.osuosl.org/pub/linux/status/powertop/powertop-$pkgver.tar.bz2
17 powertop-1.98-sysfs.patch)
20 cd "$srcdir/powertop-$pkgver"
21 patch -p1 < ../powertop-1.98-sysfs.patch
26 cd "$srcdir/powertop-$pkgver"
27 make DESTDIR="$pkgdir" install
28 mv "$pkgdir/usr/bin/powertop" "$pkgdir/usr/bin/powertop2"
30 md5sums=('c1a1bec9a0ddf14e46c176693d4dff8e'
31 '26599b435beaf39e9c11f5c05c588c2c')