vp-build/srcpkgs/phoronix-test-suite/template

21 lines
839 B
Bash

# Template file for 'phoronix-test-suite'
pkgname=phoronix-test-suite
version=10.2.0
revision=1
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/"
changelog="https://raw.githubusercontent.com/phoronix-test-suite/phoronix-test-suite/master/ChangeLog"
distfiles="https://phoronix-test-suite.com/releases/${pkgname}-${version}.tar.gz"
checksum=7a828781b4b2384930ce48b9c16b9994e0266658f138c5dcced03f83c4edbad4
do_install() {
vsed -e "s/^\texport PTS_DIR=.*/\texport 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
}