summaryrefslogtreecommitdiff
path: root/pcr/nagios-nrpe-plugin/PKGBUILD
blob: df55635914788067075cc99d45a4ca2663ba015f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# https://github.com/mvgrimes/aur-nagios-npre-plugin
# Contributor (Arch): Mark Grimes <mgrimes at peculier dot com>
# Contributor (Arch): Idares <idares@seznam.cz>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>

pkgname=nagios-nrpe-plugin
pkgver=2.13
pkgrel=1
pkgdesc="The Nagios NRPE server side plugin."
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
url="http://www.nagios.org"
source=("http://downloads.sourceforge.net/nagios/nrpe-$pkgver.tar.gz")

depends=(nagios)

build() {
    cd $startdir/src/nrpe-$pkgver
    ./configure --prefix=/usr/share/nagios \
        --with-nagios-user=nobody --with-nagios-group=nobody || return 1
    make || return 1
    make prefix=$startdir/pkg/usr/share/nagios install-plugin || return 1
}