# Contributor: Idares <idares@seznam.cz>

pkgname=nagios-plugins
pkgver=1.4.13
pkgrel=1
pkgdesc="Plugins are scripts and programs that perform host and service checks."
license=('GPL')
arch=('i686' 'x86_64')
url="http://www.nagiosplugins.org"
source=("http://downloads.sourceforge.net/nagiosplug/$pkgname-$pkgver.tar.gz")
md5sums=('be6cc7699fff3ee29d1fd4d562377386')

build() {
	cd $srcdir/$pkgname-$pkgver
  
	./configure --prefix=/usr/share/nagios
  
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver
  
  make prefix=$startdir/pkg/usr/share/nagios install
  make prefix=$startdir/pkg/usr/share/nagios install-root
}

# vim:set ts=2 sw=2 et:
