mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
vegeta: fix build, add version to package
This commit is contained in:
parent
df6b059993
commit
23efefbe95
1 changed files with 4 additions and 3 deletions
|
@ -1,14 +1,15 @@
|
|||
# Template file for 'vegeta'
|
||||
pkgname=vegeta
|
||||
version=12.8.4
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path=github.com/tsenart/$pkgname
|
||||
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://$go_import_path/archive/v$version.tar.gz"
|
||||
distfiles="https://github.com/tsenart/vegeta/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=418249d07f04da0a587df45abe34705166de9e54a836e27e387c719ebab3e357
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue