blob: ef985fd6d26d383f77860d97ef1ea96789736707 (
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
27
28
29
|
# Maintainer: Peter Jung <admin@ptr1337.dev>
pkgname=schbench-git
_pkgname=schbench
pkgver=v1.0.r4.g48aed1d
pkgrel=1
arch=('x86_64')
url="https://git.kernel.org/pub/scm/linux/kernel/git/mason/schbench.git"
license=('GPL-2.0-or-later')
pkgdesc='Simple Scheduler Benchmark'
source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/mason/schbench.git")
sha256sums=('SKIP')
provides=(schbench)
conflicts=(schbench)
pkgver() {
cd $srcdir/$_pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $_pkgname
make
}
package() {
cd $srcdir/$_pkgname
install -Dm755 schbench "$pkgdir"/usr/bin/schbench
}
|