summaryrefslogtreecommitdiffstats
path: root/abs/extra/powertop/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-26 15:16:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-26 15:16:35 (GMT)
commit4b273255da14f4e0328262c43e59bd84c981b3b9 (patch)
treed7a851e6fc5d74ea598a956426a6688f02fb94b4 /abs/extra/powertop/PKGBUILD
parent43ddca13110e4e11d72dfb44196cb89e9fb34672 (diff)
downloadlinhes_pkgbuild-4b273255da14f4e0328262c43e59bd84c981b3b9.zip
linhes_pkgbuild-4b273255da14f4e0328262c43e59bd84c981b3b9.tar.gz
linhes_pkgbuild-4b273255da14f4e0328262c43e59bd84c981b3b9.tar.bz2
powertop: 2.1.1
Diffstat (limited to 'abs/extra/powertop/PKGBUILD')
-rw-r--r--abs/extra/powertop/PKGBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/abs/extra/powertop/PKGBUILD b/abs/extra/powertop/PKGBUILD
index 83f906f..efec607 100644
--- a/abs/extra/powertop/PKGBUILD
+++ b/abs/extra/powertop/PKGBUILD
@@ -1,25 +1,31 @@
-# $Id: PKGBUILD 24103 2010-08-19 22:45:29Z heftig $
+# $Id: PKGBUILD 78981 2012-10-28 15:59:46Z jlichtblau $
# 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"
+pkgver=2.1.1
+pkgrel=1
+pkgdesc='A tool to diagnose issues with power consumption and power management'
arch=('i686' 'x86_64')
-url="http://www.lesswatts.org/projects/powertop/"
+url='https://01.org/powertop/'
license=('GPL2')
-depends=('ncurses')
-source=(http://www.lesswatts.org/projects/powertop/download/$pkgname-$pkgver.tar.gz)
-md5sums=('78aa17c8f55178004223bf236654298e')
+depends=('gcc-libs' 'libnl' 'ncurses' 'pciutils')
+changelog=$pkgname.changelog
+source=($pkgname-$pkgver.tar.gz::https://github.com/fenrus75/powertop/tarball/v2.1.1)
+#https://01.org/powertop/sites/default/files/downloads/$pkgname-$pkgver.tar.gz)
+sha256sums=('e925230cc9006dbc226aec4dea389b97a0f906a7997b33aca40a1d6bc7568dc4')
build() {
- cd "$srcdir/powertop-$pkgver"
+ cd ${srcdir}/*-$pkgname-*
+
+ ./autogen.sh
+ ./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/powertop-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd ${srcdir}/*-$pkgname-*
+
+ make DESTDIR=${pkgdir} install
}