[arch-commits] Commit in powertop/trunk (PKGBUILD powertop.changelog)

Jaroslav Lichtblau jlichtblau at archlinux.org
Sat May 9 11:32:28 UTC 2020


    Date: Saturday, May 9, 2020 @ 11:32:28
  Author: jlichtblau
Revision: 625944

upgpkg: powertop 2.12-1 - new upstream release

Modified:
  powertop/trunk/PKGBUILD
  powertop/trunk/powertop.changelog

--------------------+
 PKGBUILD           |   16 +++++++---------
 powertop.changelog |    3 +++
 2 files changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-09 11:27:25 UTC (rev 625943)
+++ PKGBUILD	2020-05-09 11:32:28 UTC (rev 625944)
@@ -3,7 +3,7 @@
 # Contributor: Xilon <xilonmu at gmail.com>
 
 pkgname=powertop
-pkgver=2.11
+pkgver=2.12
 pkgrel=1
 pkgdesc='A tool to diagnose issues with power consumption and power management'
 arch=('x86_64')
@@ -10,21 +10,19 @@
 url='https://01.org/powertop/'
 license=('GPL2')
 depends=('gcc-libs' 'libnl' 'ncurses' 'pciutils')
+makedepends=('autoconf-archive')
 optdepends=('xorg-xset: for the --calibrate function')
 changelog=$pkgname.changelog
 source=($pkgname-$pkgver.tar.gz::https://github.com/fenrus75/powertop/archive/v$pkgver.tar.gz)
-sha256sums=('770d848005ce0b134bb603f3a3ab2e65acc3236675827d47108b13a75e42b66b')
+sha256sums=('35fbdbf2a02bf6f3558c013d83f4a0e96c2af9a29d0f764b843339f7c39bd1fb')
 
-prepare() {
-  cd "${srcdir}"/$pkgname-$pkgver
-# version 2.11 info still needs fix
-  sed -i 's:RUN-VERSION-SCRIPT-IN-GIT-REPOSITORY-ONLY:v2.11:' scripts/version
-}
-
 build() {
   cd "${srcdir}"/$pkgname-$pkgver
 
-  ./autogen.sh
+# https://bugzilla.redhat.com/show_bug.cgi?id=1826935
+  autoreconf -fi || autoreconf -fi
+
+#   ./autogen.sh
   ./configure --prefix=/usr --sbindir=/usr/bin
   make
 }

Modified: powertop.changelog
===================================================================
--- powertop.changelog	2020-05-09 11:27:25 UTC (rev 625943)
+++ powertop.changelog	2020-05-09 11:32:28 UTC (rev 625944)
@@ -1,3 +1,6 @@
+2020-05-09 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* powertop 2.12-1
+
 2019-10-29 Jaroslav Lichtblau <svetlemodry at archlinux.org>
 	* powertop 2.11-1
 



More information about the arch-commits mailing list