24 lines
548 B
Bash
24 lines
548 B
Bash
# Template file for 'vegeta'
|
|
pkgname=vegeta
|
|
version=12.4.0
|
|
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=fbec8e3803b9f2487e8c90e1f7f9241d0e879cab2e7926456853d9f5f96a5643
|
|
|
|
pre_build() {
|
|
cd $GOSRCPATH
|
|
dep ensure
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|