summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/nagios-nrpe-plugin/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/pcr/nagios-nrpe-plugin/PKGBUILD b/pcr/nagios-nrpe-plugin/PKGBUILD
index df5563591..7ac0af99c 100644
--- a/pcr/nagios-nrpe-plugin/PKGBUILD
+++ b/pcr/nagios-nrpe-plugin/PKGBUILD
@@ -1,23 +1,27 @@
-# https://github.com/mvgrimes/aur-nagios-npre-plugin
# Contributor (Arch): Mark Grimes <mgrimes at peculier dot com>
+# https://github.com/mvgrimes/aur-nagios-npre-plugin
# Contributor (Arch): Idares <idares@seznam.cz>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
pkgname=nagios-nrpe-plugin
-pkgver=2.13
+pkgver=2.15
pkgrel=1
pkgdesc="The Nagios NRPE server side plugin."
license=('GPL')
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
url="http://www.nagios.org"
-source=("http://downloads.sourceforge.net/nagios/nrpe-$pkgver.tar.gz")
-
+source=("http://downloads.sourceforge.net/nagios/nrpe-${pkgver}.tar.gz")
+md5sums=('3921ddc598312983f604541784b35a50')
depends=(nagios)
build() {
- cd $startdir/src/nrpe-$pkgver
+ cd ${srcdir}/nrpe-${pkgver}
./configure --prefix=/usr/share/nagios \
- --with-nagios-user=nobody --with-nagios-group=nobody || return 1
+ --with-nagios-user=nagios --with-nagios-group=nagios || return 1
make || return 1
- make prefix=$startdir/pkg/usr/share/nagios install-plugin || return 1
+}
+
+package() {
+ cd ${srcdir}/nrpe-${pkgver}
+ make prefix=${pkgdir}/usr/share/nagios install-plugin || return 1
}