blob: 7d55d89b9fa0388981a0f709d30cfe6907b8e007 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: FloTheSysadmin <FloTheSysadmin@protonmail.com>
#
pkgname=check_mk-agent
pkgver=2.2.0p32
pkgrel=1
pkgdesc='Agent to send information to a Check_MK server'
arch=(any)
url='https://mathias-kettner.de/'
license=('GPLv2')
makedepends=('git')
source=("${pkgname}-check_mk_agent.linux-${pkgver}::https://raw.githubusercontent.com/tribe29/checkmk/v${pkgver}/agents/check_mk_agent.linux"
"${pkgname}-check_mk_caching_agent.linux-${pkgver}::https://raw.githubusercontent.com/tribe29/checkmk/v${pkgver}/agents/check_mk_caching_agent.linux"
'check_mk.socket'
'check_mk@.service')
sha256sums=('939e89316d3fce0e6c41cac8a9651eb7df37feda759896832c4e1e840acd48cb'
'54bb693ef89cf65fa53440384b238e507193d5770f803854746335ccb2dd7162'
'a891bb3020f20ff8e6c1672e58607dd5545923bfce6420911fd1c967ec500b08'
'7a8507af8fd92a7acc68c34d6a7525b67e0c0419ef8a99cd620d459837c7d1e8')
package() {
install -D -m0755 ${pkgname}-check_mk_agent.linux-${pkgver} "${pkgdir}"/usr/bin/check_mk_agent
install -D -m0755 ${pkgname}-check_mk_caching_agent.linux-${pkgver} "${pkgdir}"/usr/bin/check_mk_caching_agent
install -D -m0644 -t "${pkgdir}"/usr/lib/systemd/system/ check_mk.socket check_mk@.service
install -d -m0755 "${pkgdir}"/var/lib/check_mk_agent/{cache,job,spool,local,plugins}
}
|