void-packages/srcpkgs/phoronix-test-suite/template

21 lines
753 B
Bash

# Template file for 'phoronix-test-suite'
pkgname=phoronix-test-suite
version=7.4.0
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"
homepage="https://www.phoronix-test-suite.com/"
distfiles="https://www.phoronix.net/downloads/phoronix-test-suite/releases/${pkgname}-${version}.tar.gz"
checksum=de9aec3ef4f980581756fd0bf7b30dd1ccb20e7aae637078a587606bf75a6b67
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
}