summaryrefslogtreecommitdiffstats
path: root/abs/extra/powertop/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-06 08:07:28 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-06 08:07:28 (GMT)
commit68a8ff8796da8a63efe5557fbb0eae3b33943ee5 (patch)
tree3166f57d7b0f309769d9eaaa319807b041ea47e1 /abs/extra/powertop/PKGBUILD
parentbafaa50c055ac70b05bf5f0770cea33411e8bb45 (diff)
downloadlinhes_pkgbuild-68a8ff8796da8a63efe5557fbb0eae3b33943ee5.zip
linhes_pkgbuild-68a8ff8796da8a63efe5557fbb0eae3b33943ee5.tar.gz
linhes_pkgbuild-68a8ff8796da8a63efe5557fbb0eae3b33943ee5.tar.bz2
powertop:bumped to latest.
Diffstat (limited to 'abs/extra/powertop/PKGBUILD')
-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
}