Skip to content
Permalink
Browse files

prometheus: Actually include separately built web assets

  • Loading branch information
Vaelatern committed Jan 13, 2020
1 parent 0643064 commit 73494e5cf6938676ade076fd2513deda15b4356a
Showing with 7 additions and 1 deletion.
  1. +7 −1 srcpkgs/prometheus/template
@@ -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>"
@@ -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

0 comments on commit 73494e5

Please sign in to comment.
You can’t perform that action at this time.