From e0fbe3d035dd1a7fcea3d2c41497cf1dfe75751f Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 2 May 2015 12:57:32 -0500 Subject: nagios-nrpe-plugin-2.15-1: updating version --- pcr/nagios-nrpe-plugin/PKGBUILD | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'pcr/nagios-nrpe-plugin') 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 +# https://github.com/mvgrimes/aur-nagios-npre-plugin # Contributor (Arch): Idares # Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres 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 } -- cgit v1.2.3-54-g00ecf