pkgname=cyclictest
pkgver=2.1
pkgrel=1
pkgdesc="Cyclictest is a high resolution test program"
arch=('i386' 'x86_64')
url="https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests"
license=('GPL')
source=("https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git")
md5sums=('SKIP')

package() {
	cd "$srcdir/rt-tests"
	git checkout -b stable/v${pkgver} origin/stable/v${pkgver}
	make prefix="${pkgdir}/lkp/benchmarks/${pkgname}"
	make prefix="${pkgdir}/lkp/benchmarks/${pkgname}" install
}
