summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a0c90800574310366c1aa76cf55cb0885f8d4140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: killab33z <killab33z @ protonmail-dot-com>
# Previous Maintainer: Krystof Pistek <krystof1119 at gmail dot com>
pkgname=cpu-checker-bzr
pkgver=r41
pkgrel=5
pkgdesc="Userspace tools for helping to evaluate the CPU (or BIOS) support for various features."
arch=('x86_64')
url="https://launchpad.net/cpu-checker"
license=('GPL')
depends=('grep' 'msr-tools')
makedepends=('bzr' 'make' 'python-dulwich' 'python-launchpadlib')
provides=("cpu-checker=${pkgver}")
conflicts=(cpu-checker)
source=('bzr+lp:cpu-checker')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/cpu-checker"
	printf "r%s" "$(bzr revno)"
}

package() {
	cd "$srcdir/cpu-checker"
	make DESTDIR="$pkgdir/" install
	mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
}