From 1c8ceaa755e1339e535f79754abf36c253a6b1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Thu, 12 Apr 2018 11:51:35 +0200 Subject: [PATCH] powertop: update to 2.9. Closes #13408. Signed-off-by: Enno Boland --- srcpkgs/powertop/template | 9 +++++---- srcpkgs/powertop/update | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/powertop/template b/srcpkgs/powertop/template index 36404d2d127..818e33f7a2f 100644 --- a/srcpkgs/powertop/template +++ b/srcpkgs/powertop/template @@ -1,7 +1,8 @@ # Template file for 'powertop' pkgname=powertop -version=2.8 -revision=2 +version=2.9 +revision=1 +wrksrc="$pkgname-v${version}" build_style=gnu-configure configure_args="--sbindir=/usr/bin" hostmakedepends="pkg-config" @@ -10,5 +11,5 @@ short_desc="Linux tool to find out what is using power on computer" maintainer="Juan RP " license="GPL-2" homepage="https://01.org/powertop/" -distfiles="https://01.org/sites/default/files/downloads/powertop/powertop-${version}.tar.gz" -checksum=a87b563f73106babfa3e74dcf92f252938c061e309ace20a361358bbfa579c5a +distfiles="https://01.org/sites/default/files/downloads/powertop/powertop-v${version}.tar.gz" +checksum=aa7fb7d8e9a00f05e7d8a7a2866d85929741e0d03a5bf40cab22d2021c959250 diff --git a/srcpkgs/powertop/update b/srcpkgs/powertop/update index f0102a00ad7..daba116244c 100644 --- a/srcpkgs/powertop/update +++ b/srcpkgs/powertop/update @@ -1 +1,2 @@ site="https://01.org/powertop/downloads" +pattern="href=\"/powertop/downloads/powertop-v\K[0-9.]+(?=\")"