summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eff5e055325044372a5b0ff206772e86a9b2b02e (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.1.4
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

}