From 68a8ff8796da8a63efe5557fbb0eae3b33943ee5 Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Wed, 6 Jul 2011 01:07:28 -0700
Subject: powertop:bumped to latest.

---
 abs/extra/powertop/PKGBUILD | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/abs/extra/powertop/PKGBUILD b/abs/extra/powertop/PKGBUILD
index 4d8c17b..83f906f 100644
--- a/abs/extra/powertop/PKGBUILD
+++ b/abs/extra/powertop/PKGBUILD
@@ -1,20 +1,25 @@
-# $Id: PKGBUILD,v 1.10 2008/06/19 08:52:53 pizzapunk Exp $
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
+# $Id: PKGBUILD 24103 2010-08-19 22:45:29Z heftig $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
 # Contributor: Xilon <xilonmu@gmail.com>
 
 pkgname=powertop
-pkgver=1.10
-pkgrel=1
+pkgver=1.13
+pkgrel=2
 pkgdesc="Tool that finds the software that makes your laptop use more power than necessary"
 arch=('i686' 'x86_64')
 url="http://www.lesswatts.org/projects/powertop/"
 license=('GPL2')
 depends=('ncurses')
-source=(http://www.lesswatts.org/projects/powertop/download/powertop-$pkgver.tar.gz)
-md5sums=('e09f631f60d50299d8885193e6fd3756')
+source=(http://www.lesswatts.org/projects/powertop/download/$pkgname-$pkgver.tar.gz)
+md5sums=('78aa17c8f55178004223bf236654298e')
 
 build() {
-  cd $startdir/src/powertop-$pkgver
-  make || return 1
-  make DESTDIR=$startdir/pkg install
+  cd "$srcdir/powertop-$pkgver"
+  make
+}
+
+package() {
+  cd "$srcdir/powertop-$pkgver"
+  make DESTDIR="$pkgdir" install
 }
-- 
cgit v0.12

