summaryrefslogtreecommitdiff
path: root/community/powertop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/powertop/PKGBUILD')
-rw-r--r--community/powertop/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/powertop/PKGBUILD b/community/powertop/PKGBUILD
new file mode 100644
index 000000000..83f906f85
--- /dev/null
+++ b/community/powertop/PKGBUILD
@@ -0,0 +1,25 @@
+# $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.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/$pkgname-$pkgver.tar.gz)
+md5sums=('78aa17c8f55178004223bf236654298e')
+
+build() {
+ cd "$srcdir/powertop-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/powertop-$pkgver"
+ make DESTDIR="$pkgdir" install
+}