summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fdea92f0a877815b3b42535f4f58267e5e72b61 (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
# Maintainer: Tor Vic <torvic9 AT mailbox DOT org>

pkgname='mini-benchmarker'
_ver=2.1
pkgver=2.1.r18.gd317a01
pkgrel=1
pkgdesc='A simple benchmarking script using stress-ng, perf, blender etc.'
url="https://gitlab.com/torvic9/mini-benchmarker"
arch=('x86_64')
licence=('GPL3')
depends=('gcc' 'make' 'cmake' 'time' 'perf' 'unzip'
	 'nasm' 'inxi' 'argon2' 'wget' 'x265' 'xz' 'blender'
	 'zlib' 'libdrm' 'git' 'python' 'primesieve' 'p7zip')
optdepends=('stress-ng')
source=(git+https://gitlab.com/torvic9/mini-benchmarker.git)
sha512sums=('SKIP')

pkgver() {
	cd $pkgname
	echo "${_ver}.r$(git rev-list HEAD --count).g$(git rev-list HEAD -1 --abbrev-commit)"
}

package() {
	cd $pkgname
	install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname.sh"
}