summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/powertop/PKGBUILD23
1 files 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
}