aboutsummaryrefslogtreecommitdiffstats
path: root/testing/powerstat/APKBUILD
blob: 31b989565cc64f61d75295575c166256b0c530e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor: Niklas Cathor <niklas.cathor@gmx.de>
# Maintainer: Niklas Cathor <niklas.cathor@gmx.de>
pkgname=powerstat
pkgver=0.02.24
pkgrel=0
pkgdesc="tool to measure power consumption"
url="https://kernel.ubuntu.com/~cking/powerstat/"
arch="all"
license="GPL-2.0-only"
depends="linux-headers"
subpackages="$pkgname-doc $pkgname-bash-completion"
source="
	$pkgname-$pkgver.tar.gz::https://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-$pkgver.tar.gz
"
options="!check" # no tests

build() {
	make PEDANTIC=1
}

package() {
	make install DESTDIR="$pkgdir"
}
sha512sums="b8e443efb7ab84ae0fed7583b2d501fd570ac0d0e568c40d166d3e172f2ded1c547f7ce0fdb3866de87faa013129e9d5e6e3af243eb0a9668c5b232e02840b8d  powerstat-0.02.24.tar.gz"