1 # Maintainer: sh0 <mee@sh0.org>
2 pkgname=perl-nagios-plugin
5 pkgdesc="A family of perl modules to streamline writing Nagios plugins"
7 url="http://search.cpan.org/dist/Nagios-Plugin"
9 depends=('perl>=5.10.0' 'perl-params-validate' 'perl-class-accessor' 'perl-config-tiny' 'perl-math-calc-units')
11 source=(http://search.cpan.org/CPAN/authors/id/T/TO/TONVOON/Nagios-Plugin-$pkgver.tar.gz)
12 md5sums=('96b3510798e28f3ebed8c23f4225e80e')
15 cd "$srcdir/Nagios-Plugin-$pkgver"
16 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21 cd "$srcdir/Nagios-Plugin-$pkgver"
22 make install DESTDIR="$pkgdir/"
23 find $pkgdir -name '.packlist' -delete
24 find $pkgdir -name '*.pod' -delete
27 # vim:set ts=2 sw=2 et: