summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 542f59eca7c5fff3de72e6e4db19bc912343d7f4 (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=python-nagiosplugin
pkgver=1.3.2
pkgrel=1
pkgdesc="a Python class library which helps writing Nagios (or Icinga) compatible plugins easily in Python"
arch=('any')
url="https://github.com/mpounsett/nagiosplugin"
license=('ZPL2.1')
depends=('python')
makedepends=('git' 'python-setuptools')
source=("git+https://github.com/mpounsett/nagiosplugin.git#tag=$pkgver")
sha256sums=('SKIP')

build() {
    cd "$srcdir/nagiosplugin"
    python setup.py build
}

package() {
    cd "$srcdir/nagiosplugin"
    python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}