summaryrefslogtreecommitdiffstats
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
parent43ddca13110e4e11d72dfb44196cb89e9fb34672 (diff)
downloadlinhes_pkgbuild-4b273255da14f4e0328262c43e59bd84c981b3b9.zip
linhes_pkgbuild-4b273255da14f4e0328262c43e59bd84c981b3b9.tar.gz
linhes_pkgbuild-4b273255da14f4e0328262c43e59bd84c981b3b9.tar.bz2
powertop: 2.1.1
-rw-r--r--abs/extra/powertop/ChangeLog3
-rw-r--r--abs/extra/powertop/PKGBUILD28
-rw-r--r--abs/extra/powertop/powertop.changelog8
3 files changed, 25 insertions, 14 deletions
diff --git a/abs/extra/powertop/ChangeLog b/abs/extra/powertop/ChangeLog
deleted file mode 100644
index 811f87d..0000000
--- a/abs/extra/powertop/ChangeLog
+++ /dev/null
@@ -1,3 +0,0 @@
-2007-06-28 tardo <tardo@nagi-fanboi.net>
-* Built for x86_64
-
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
}
diff --git a/abs/extra/powertop/powertop.changelog b/abs/extra/powertop/powertop.changelog
new file mode 100644
index 0000000..9a53fc3
--- /dev/null
+++ b/abs/extra/powertop/powertop.changelog
@@ -0,0 +1,8 @@
+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
+
+2012-05-12 Jaroslav Lichtblau (Dragonlord) <dragonlord@aur.archlinux.org>
+ * powertop 2.0-1