summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1646767236d27ce65275ed77a3a5217c7ae74d8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: grawity

pkgname=kcbench
pkgver=0.9.11
pkgrel=1
pkgdesc="Linux kernel compile benchmark"
arch=(any)
url="https://gitlab.com/knurd42/kcbench"
license=(MIT)
depends=(  bc binutils bison curl flex gcc libelf make openssl perl pkg-config time)
source=("https://gitlab.com/knurd42/kcbench/-/archive/v${pkgver}/kcbench-v${pkgver}.tar.gz")
sha256sums=('e6fac69ba1cb7debff1a805336dfc91a745bda98127ecbad821a8e98869d4233')

package() {
  cd "kcbench-v${pkgver}"
  make DESTDIR="$pkgdir" PREFIX=/usr install
  ln -nsf kcbench "$pkgdir"/usr/bin/kcbenchrate
  install -D LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}