diff options
Diffstat (limited to 'pcr/nagios-nrpe-plugin/PKGBUILD')
-rw-r--r-- | pcr/nagios-nrpe-plugin/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/nagios-nrpe-plugin/PKGBUILD b/pcr/nagios-nrpe-plugin/PKGBUILD new file mode 100644 index 000000000..3f2cba3c0 --- /dev/null +++ b/pcr/nagios-nrpe-plugin/PKGBUILD @@ -0,0 +1,23 @@ +# https://github.com/mvgrimes/aur-nagios-npre-plugin +# Contributor: Mark Grimes <mgrimes at peculier dot com> +# Contributor: 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') +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 +} |