summaryrefslogtreecommitdiff
path: root/community/powertop
diff options
context:
space:
mode:
Diffstat (limited to 'community/powertop')
-rw-r--r--community/powertop/PKGBUILD30
-rw-r--r--community/powertop/powertop.changelog2
2 files changed, 16 insertions, 16 deletions
diff --git a/community/powertop/PKGBUILD b/community/powertop/PKGBUILD
index 2f981488c..8b76e9d03 100644
--- a/community/powertop/PKGBUILD
+++ b/community/powertop/PKGBUILD
@@ -1,31 +1,29 @@
-# $Id: PKGBUILD 67110 2012-03-04 12:47:55Z stativ $
+# $Id: PKGBUILD 70596 2012-05-12 11:08:44Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Xilon <xilonmu@gmail.com>
pkgname=powertop
-pkgver=1.13
-pkgrel=3
-pkgdesc="Tool that finds the software that makes your laptop use more power than necessary"
+pkgver=2.0
+pkgrel=1
+pkgdesc="A tool to diagnose issues with power consumption and power management"
arch=('i686' 'x86_64')
-url="http://www.lesswatts.org/projects/powertop/"
+url="https://01.org/powertop/"
license=('GPL2')
-depends=('ncurses')
-source=(http://www.lesswatts.org/projects/powertop/download/$pkgname-$pkgver.tar.gz \
- powertop-1.13-with-3.0.6.patch)
-md5sums=('78aa17c8f55178004223bf236654298e'
- '2b4c9d75fb0f5c96bcd549bcbbeb9c9d')
+depends=('libnl' 'ncurses')
+changelog=$pkgname.changelog
+source=(https://01.org/powertop/sites/default/files/downloads/$pkgname-$pkgver.tar.bz2)
+sha256sums=('7af51d320856b3446bcc314c9414385f3b05b9360f650883b0210cd3b12c5c1c')
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
+ cd ${srcdir}/$pkgname-$pkgver
+ ./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/powertop-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd ${srcdir}/$pkgname-$pkgver
+
+ make DESTDIR=${pkgdir} install
}
diff --git a/community/powertop/powertop.changelog b/community/powertop/powertop.changelog
new file mode 100644
index 000000000..7e8deb15d
--- /dev/null
+++ b/community/powertop/powertop.changelog
@@ -0,0 +1,2 @@
+2012-05-12 Jaroslav Lichtblau (Dragonlord) <dragonlord@aur.archlinux.org>
+ * powertop 2.0-1