summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a116765f69135795b4435bde728f51ec582a9f2f (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
pkgname=rteval
pkgver=3.9
pkgrel=1
pkgdesc="Evaluate performance of realtime Linux kernel on a particular hardware platform"
arch=('x86_64')
url="https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rteval"
license=('GPL2')
groups=('realtime')
depends=('rt-tests' 'python-lxml' 'python-dmidecode')
makedepends=('wget')
source=("git+https://git.kernel.org/pub/scm/utils/rteval/rteval.git#commit=v${pkgver}")
md5sums=('SKIP')

prepare() {
  cd "${pkgname}"
  KLOAD="linux-6.12-rc4.tar.gz"
  if [ ! -f "loadsource/$KLOAD" ]; then
    wget -P loadsource https://git.kernel.org/torvalds/t/$KLOAD
  fi
}

package() {
  cd "${pkgname}"
  make DESTDIR="${pkgdir}" install
}