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