aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-06-11 16:23:22 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-06-11 22:01:17 +0000
commit3ba570621a4ba4862f8defd3a78225d61032f570 (patch)
treee7e12b6552d1d3bd5f09a87491c3e30152cd9e2e
parenteebff4299157dfe6b70fe0f669a06d0f9fb854ab (diff)
main/powertop: upgrade to 2.13
-rw-r--r--main/powertop/APKBUILD21
1 files changed, 6 insertions, 15 deletions
diff --git a/main/powertop/APKBUILD b/main/powertop/APKBUILD
index 4c3ce3898ae..637a537e0ff 100644
--- a/main/powertop/APKBUILD
+++ b/main/powertop/APKBUILD
@@ -1,17 +1,17 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=powertop
-pkgver=2.11
-pkgrel=1
+pkgver=2.13
+pkgrel=0
pkgdesc="Power consumption monitor"
url="https://01.org/powertop"
arch="all"
license="GPL-2.0-only"
makedepends="linux-headers ncurses-dev pciutils-dev zlib-dev libnl-dev
- gettext-dev automake autoconf libtool"
+ gettext-dev automake autoconf libtool autoconf-archive"
subpackages="
$pkgname-doc
- $pkgname-bash-completion:bashcomp:noarch
+ $pkgname-bash-completion
"
source="$pkgname-$pkgver.tar.gz::https://github.com/fenrus75/powertop/archive/v$pkgver.tar.gz
musl-fix-headers.patch
@@ -19,8 +19,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/fenrus75/powertop/archive/v$
prepare() {
default_prepare
- sed -i "s:RUN-VERSION-SCRIPT-IN-GIT-REPOSITORY-ONLY:v$pkgver:" scripts/version
- ./autogen.sh
+ autoreconf -fi
}
build() {
@@ -32,13 +31,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-bashcomp() {
- depends=""
- pkgdesc="Bash completions for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
-
- amove usr/share/bash-completion
-}
-
-sha512sums="bbe2882196f1b3ae39885d38dd86018576bfac5b5e8f16ea10c7dfd197197d0493ae4ce83c969417a4c4239c41dbcfada989063f14e2943c088a7489e43953b7 powertop-2.11.tar.gz
+sha512sums="8ebeccd17b6f76d9e445382d9ce5b1c00ab2daf4f1e6e133c249bceb35ea582ca3e76da5415fd0b55a28b8a124655dc5ac7a18aaf2a3df955547d77495e59181 powertop-2.13.tar.gz
d3bb0e8eaa56fe9ef5aed5d7bea4860be2135fc163ec0c669dc2d01f5ee46ee22ee58cac0835518dc1a4e2939748cf57f2ab37e8d0d879bbc0161d66db7d1919 musl-fix-headers.patch"