blob: abc5d4d03e6b0dd34fe86e8ad1bfe552fce5af1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Lukasz Michalski <lm@zork.pl>
pkgname=check_docker_container
pkgver=1.0.3
pkgrel=1
pkgdesc="Nagios / Icinga monitoring plugin to check if docker container is running"
arch=('any')
url="https://github.com/BlackZork/check_docker_container.git"
license=('MIT')
depends=('python-nagiosplugin')
makedepends=('git' 'python-setuptools')
source=("git+https://github.com/BlackZork/check_docker_container.git#tag=$pkgver")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
python setup.py build
}
package() {
cd "$srcdir/$pkgname"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build --install-scripts=/usr/lib/monitoring-plugins/
}
|