Skip to content

Commit

Permalink
prometheus: Actually include separately built web assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaelatern committed Jan 13, 2020
1 parent 0643064 commit 73494e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion srcpkgs/prometheus/template
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# Template file for 'prometheus'
pkgname=prometheus
version=2.14.0
revision=1
revision=2
build_style=go
go_import_path="github.com/prometheus/prometheus"
go_package="github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool"
go_ldflags="-X ${go_import_path}/version.Version=${version}
-X ${go_import_path}/version.Revision=${version}
-X ${go_import_path}/version.Branch=${version}
-X ${go_import_path}/version.BuildUser=VoidLinux"
go_build_tags="netgo,builtinassets"
hostmakedepends="yarn"
conf_files="/etc/prometheus/prometheus.yml"
short_desc="Monitoring system and time series database"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
Expand All @@ -21,6 +23,10 @@ system_accounts="_prometheus"

make_dirs="/var/lib/prometheus 700 _prometheus _prometheus"

pre_build() {
make assets
}

post_install() {
vlicense LICENSE
vlicense NOTICE
Expand Down

0 comments on commit 73494e5

Please sign in to comment.