aboutsummaryrefslogblamecommitdiffstats
path: root/testing/powerstat/APKBUILD
blob: 57b0b2dbf9aea35906bd05816955113d1b09f129 (plain) (tree)
1
2
3
4


                                                   
              


















                                                                                                             
                                                                                                                                                                       
# Contributor: Niklas Cathor <niklas.cathor@gmx.de>
# Maintainer: Niklas Cathor <niklas.cathor@gmx.de>
pkgname=powerstat
pkgver=0.02.25
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="2ef2e47ee09552960f529b8c0c4c7ef30bf9e0f391da8aa08ac35944df9090f02f9f3842c87111ec800f510a659e0e970936f5dee5b1079eb14b81fd8c29e7db  powerstat-0.02.25.tar.gz"