void-packages/srcpkgs/vegeta/template

24 lines
548 B
Bash
Raw Normal View History

2019-03-24 19:22:41 +01:00
# Template file for 'vegeta'
pkgname=vegeta
version=12.2.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=5a7376de64a022d5748b43e3873ee5b7bcffa3596e2df00bff9866bb039720d7
pre_build() {
cd $GOSRCPATH
dep ensure
}
post_install() {
vlicense LICENSE
}