summaryrefslogtreecommitdiff
path: root/community/powertop/PKGBUILD
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/PKGBUILD
parent24d0263a0ac516ccc86df09146449fb040fb3689 (diff)
Mon Oct 29 01:22:06 PDT 2012
Diffstat (limited to 'community/powertop/PKGBUILD')
-rw-r--r--community/powertop/PKGBUILD16
1 files changed, 9 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
}