updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-nagios-plugin / PKGBUILD
blobf554bd1bbf2324de11d0f59270927b3c8d6d3024
1 # Maintainer: sh0 <mee@sh0.org>
2 pkgname=perl-nagios-plugin
3 pkgver=0.35
4 pkgrel=1
5 pkgdesc="A family of perl modules to streamline writing Nagios plugins"
6 arch=('any')
7 url="http://search.cpan.org/dist/Nagios-Plugin"
8 license=('unknown')
9 depends=('perl>=5.10.0' 'perl-params-validate' 'perl-class-accessor' 'perl-config-tiny' 'perl-math-calc-units')
10 options=(!emptydirs)
11 source=(http://search.cpan.org/CPAN/authors/id/T/TO/TONVOON/Nagios-Plugin-$pkgver.tar.gz)
12 md5sums=('96b3510798e28f3ebed8c23f4225e80e')
14 build() {
15   cd "$srcdir/Nagios-Plugin-$pkgver"
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 package() {
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: