void-packages/srcpkgs/vegeta/template

18 lines
522 B
Bash

# Template file for 'vegeta'
pkgname=vegeta
version=12.8.4
revision=2
build_style=go
go_import_path="github.com/tsenart/vegeta/v${version%%.*}"
go_ldflags="-X main.Version=${version}"
short_desc="HTTP load testing tool"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="MIT"
homepage="https://github.com/tsenart/vegeta"
distfiles="https://github.com/tsenart/vegeta/archive/refs/tags/v${version}.tar.gz"
checksum=418249d07f04da0a587df45abe34705166de9e54a836e27e387c719ebab3e357
post_install() {
vlicense LICENSE
}