summaryrefslogtreecommitdiff
path: root/community/powertop
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-29 01:22:22 -0700
committerroot <root@rshg054.dnsready.net>2012-10-29 01:22:22 -0700
commit29665004d902f751dedb1a4baaa896f9ed74c6b6 (patch)
treeba77436c66f0c84623a590444828c578a38b60e8 /community/powertop
parent24d0263a0ac516ccc86df09146449fb040fb3689 (diff)
Mon Oct 29 01:22:06 PDT 2012
Diffstat (limited to 'community/powertop')
-rw-r--r--community/powertop/PKGBUILD16
-rw-r--r--community/powertop/powertop.changelog3
2 files changed, 12 insertions, 7 deletions
diff --git a/community/powertop/PKGBUILD b/community/powertop/PKGBUILD
index f8302d2e9..efec60709 100644
--- a/community/powertop/PKGBUILD
+++ b/community/powertop/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 75422 2012-08-22 21:05:18Z seblu $
+# $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=2.1
+pkgver=2.1.1
pkgrel=1
pkgdesc='A tool to diagnose issues with power consumption and power management'
arch=('i686' 'x86_64')
@@ -12,18 +12,20 @@ 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=('3dd4816cca4167063b78d2d7772aff8dc58377d0ed74bf11862412a8a80d2698')
+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 $pkgname-$pkgver
+ cd ${srcdir}/*-$pkgname-*
+ ./autogen.sh
./configure --prefix=/usr
make
}
package() {
- cd $pkgname-$pkgver
+ cd ${srcdir}/*-$pkgname-*
- make DESTDIR="$pkgdir" install
+ make DESTDIR=${pkgdir} install
}
diff --git a/community/powertop/powertop.changelog b/community/powertop/powertop.changelog
index 581da010b..9a53fc3d3 100644
--- a/community/powertop/powertop.changelog
+++ b/community/powertop/powertop.changelog
@@ -1,3 +1,6 @@
+2012-10-28 Jaroslav Lichtblau (Dragonlord) <dragonlord@aur.archlinux.org>
+ * powertop 2.1.1-1
+
2012-08-22 Sébastien Luttringer (seblu) <seblu@aur.archlinux.org>
* powertop 2.1-1