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

21 lines
743 B
Bash

# Template file for 'phoronix-test-suite'
pkgname=phoronix-test-suite
version=9.0.1
revision=1
archs=noarch
wrksrc="$pkgname"
depends="php"
short_desc="Comprehensive testing and benchmarking platform for Linux"
maintainer="Enno Boland <gottox@voidlinux.org>"
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=a117a4350774e67989d90bf0b5e82a8072652f8caa60a62c3e5f64adc317ce14
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
}