blob: fc67f9792ca3f90bbcedcd2bf8133d91504b7e54 (
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: Rene Hollander <mail@renehollander.at>
pkgname=cadvisor-bin
pkgver=0.47.0
pkgrel=1
pkgdesc="Analyzes resource usage and performance characteristics of running containers."
arch=("x86_64")
url="https://github.com/google/cadvisor"
license=("Apache2")
backup=('etc/conf.d/cadvisor')
source=("${pkgname}-${pkgver}::https://github.com/google/cadvisor/releases/download/v${pkgver}/cadvisor-v${pkgver}-linux-amd64"
cadvisor.conf
cadvisor.service)
sha256sums=('caf4491298e0702f9d0c6a1d1949767f5c6400f77e12cd3524d6d3fcc66abc2a'
'SKIP'
'SKIP')
package() {
install -Dm644 cadvisor.conf "$pkgdir"/etc/conf.d/cadvisor
install -Dm644 cadvisor.service "$pkgdir"/usr/lib/systemd/system/cadvisor.service
install -Dm755 "${pkgname}-${pkgver}" "$pkgdir"/usr/bin/cadvisor
}
|