void-packages/srcpkgs/vegeta/template
2019-05-17 07:39:47 +02:00

23 lines
548 B
Bash

# Template file for 'vegeta'
pkgname=vegeta
version=12.5.1
revision=1
wrksrc=${pkgname}-cli-v${version}
build_style=go
go_import_path=github.com/tsenart/$pkgname
hostmakedepends="dep"
short_desc="HTTP load testing tool"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="MIT"
homepage="https://github.com/tsenart/vegeta"
distfiles="https://$go_import_path/archive/cli/v$version.tar.gz"
checksum=28b9c30d0dd4af3e83a857194cc8df6d00cb613e3d553c96d151638f509e2820
pre_build() {
cd $GOSRCPATH
dep ensure
}
post_install() {
vlicense LICENSE
}