summaryrefslogtreecommitdiff
path: root/community/powertop/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/powertop/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/powertop/PKGBUILD')
-rw-r--r--community/powertop/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/powertop/PKGBUILD b/community/powertop/PKGBUILD
new file mode 100644
index 000000000..0c0cf4ce8
--- /dev/null
+++ b/community/powertop/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 95046 2013-08-04 10:58:38Z lcarlier $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Xilon <xilonmu@gmail.com>
+
+pkgname=powertop
+pkgver=2.4
+pkgrel=1
+pkgdesc='A tool to diagnose issues with power consumption and power management'
+arch=('i686' 'x86_64')
+url='https://01.org/powertop/'
+license=('GPL2')
+depends=('gcc-libs' 'libnl' 'ncurses' 'pciutils')
+changelog=$pkgname.changelog
+source=(https://01.org/powertop/sites/default/files/downloads/$pkgname-$pkgver.tar.gz)
+sha256sums=('42796c94546ae7f3d232e41b7fa09b2532396ca389908ff528870311db6327b7')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}