summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/powertop/PKGBUILD18
-rw-r--r--abs/extra/powertop/powertop.changelog6
2 files changed, 14 insertions, 10 deletions
diff --git a/abs/extra/powertop/PKGBUILD b/abs/extra/powertop/PKGBUILD
index efec607..fe3b066 100644
--- a/abs/extra/powertop/PKGBUILD
+++ b/abs/extra/powertop/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 78981 2012-10-28 15:59:46Z jlichtblau $
+# $Id: PKGBUILD 101505 2013-11-26 18:13:32Z bpiotrowski $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Xilon <xilonmu@gmail.com>
pkgname=powertop
-pkgver=2.1.1
+pkgver=2.5
pkgrel=1
pkgdesc='A tool to diagnose issues with power consumption and power management'
arch=('i686' 'x86_64')
@@ -12,20 +12,18 @@ url='https://01.org/powertop/'
license=('GPL2')
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')
+source=(https://01.org/powertop/sites/default/files/downloads/$pkgname-$pkgver.tar.gz)
+sha256sums=('8b2c08a555d79e1c428863470c41cb023971d74ba4801d80a05e35adeec23c0b')
build() {
- cd ${srcdir}/*-$pkgname-*
+ cd "$srcdir/$pkgname-$pkgver"
- ./autogen.sh
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
- cd ${srcdir}/*-$pkgname-*
+ cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR=${pkgdir} install
+ make DESTDIR="$pkgdir" install
}
diff --git a/abs/extra/powertop/powertop.changelog b/abs/extra/powertop/powertop.changelog
index 9a53fc3..1abb367 100644
--- a/abs/extra/powertop/powertop.changelog
+++ b/abs/extra/powertop/powertop.changelog
@@ -1,3 +1,9 @@
+2013-03-23 Evangelos Foutras <evangelos@foutrelis.com>
+ * powertop 2.3-1
+
+2013-01-05 Jaroslav Lichtblau (Dragonlord) <dragonlord@aur.archlinux.org>
+ * powertop 2.2-1
+
2012-10-28 Jaroslav Lichtblau (Dragonlord) <dragonlord@aur.archlinux.org>
* powertop 2.1.1-1