# Template file for 'phoronix-test-suite'
pkgname=phoronix-test-suite
version=8.0.1
revision=1
wrksrc="${pkgname}"
noarch=yes
depends="php"
short_desc="Comprehensive testing and benchmarking platform for Linux"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="https://www.phoronix-test-suite.com/"
distfiles="https://phoronix-test-suite.com/releases/${pkgname}-${version}.tar.gz"
checksum=6306549109c7254baf31edb385265b19557b5692217d2dfcf96f6fb17de8e842

do_install() {
	sed -e "s/^export PTS_DIR=.*/export PTS_DIR=\/usr\/share\/webapps\/${pkgname}/g" -i phoronix-test-suite
	vbin phoronix-test-suite
	vmkdir usr/share/webapps/${pkgname}/pts-core
	vcopy "pts-core/*" usr/share/webapps/${pkgname}/pts-core
}
