mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/zabbix-agent2-plugin-postgresql: strip bin and nodebug
install correct file
This commit is contained in:
parent
356a32c1b6
commit
2d4de76e61
@ -1,7 +1,7 @@
|
||||
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||
pkgname=zabbix-agent2-plugin-postgresql
|
||||
pkgver=6.0.22
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Zabbix Agent 2 PostgreSQL loadable plugin"
|
||||
url="https://git.zabbix.com/projects/AP/repos/postgresql/browse"
|
||||
arch="all"
|
||||
@ -17,13 +17,14 @@ export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
||||
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
||||
|
||||
build() {
|
||||
export CGO_LDFLAGS="$LDFLAGS -s -w"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
install -D -m644 postgresql.conf \
|
||||
"$pkgdir"/etc/zabbix/zabbix_agent2.d/plugins.d/postgresql.conf
|
||||
install -D -m755 plugin/postgresql.go \
|
||||
install -D -m755 zabbix-agent2-plugin-postgresql \
|
||||
"$pkgdir"/usr/libexec/zabbix-agent2/postgresql
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user