prometheus: Actually include separately built web assets
This commit is contained in:
parent
06430645c6
commit
73494e5cf6
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'prometheus'
|
# Template file for 'prometheus'
|
||||||
pkgname=prometheus
|
pkgname=prometheus
|
||||||
version=2.14.0
|
version=2.14.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/prometheus/prometheus"
|
go_import_path="github.com/prometheus/prometheus"
|
||||||
go_package="github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool"
|
go_package="github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool"
|
||||||
|
@ -9,6 +9,8 @@ go_ldflags="-X ${go_import_path}/version.Version=${version}
|
||||||
-X ${go_import_path}/version.Revision=${version}
|
-X ${go_import_path}/version.Revision=${version}
|
||||||
-X ${go_import_path}/version.Branch=${version}
|
-X ${go_import_path}/version.Branch=${version}
|
||||||
-X ${go_import_path}/version.BuildUser=VoidLinux"
|
-X ${go_import_path}/version.BuildUser=VoidLinux"
|
||||||
|
go_build_tags="netgo,builtinassets"
|
||||||
|
hostmakedepends="yarn"
|
||||||
conf_files="/etc/prometheus/prometheus.yml"
|
conf_files="/etc/prometheus/prometheus.yml"
|
||||||
short_desc="Monitoring system and time series database"
|
short_desc="Monitoring system and time series database"
|
||||||
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
||||||
|
@ -21,6 +23,10 @@ system_accounts="_prometheus"
|
||||||
|
|
||||||
make_dirs="/var/lib/prometheus 700 _prometheus _prometheus"
|
make_dirs="/var/lib/prometheus 700 _prometheus _prometheus"
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
make assets
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vlicense NOTICE
|
vlicense NOTICE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue