summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 81781b405d20a919d108fffc1e4bd94d9187aef5 (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
30
# Maintainer: Jaco Malan <jacomalan.12@gmail.com>
pkgname=stress++
pkgver=0.2.0
pkgrel=1
license=('GPL3')
arch=('any')
pkgdesc="A small, lightweight stress-testing tool for the CPU"
url="https://github.com/Code-Log/stress-plus-plus"

prepare() {

	git clone https://github.com/Code-Log/stress-plus-plus.git $srcdir
	mkdir -p $srcdir/build

}

build() {

	cd $srcdir/build
	cmake .. -DCMAKE_BUILD_TYPE=Release
	make $MAKEFLAGS

}

package() {

	cd $srcdir/build
	make DESTDIR="$pkgdir" install

}