summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 965fa257ec766c8008e532f689f3c524cf2afa56 (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.7
pkgrel=2
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.1.8.tar.xz"
  if [ ! -f "loadsource/$KLOAD" ]; then
    wget -P loadsource https://www.kernel.org/pub/linux/kernel/v6.x/$KLOAD
  fi
}

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