# Contributor: John D Jones III # Generator : CPANPLUS::Dist::Arch 1.25 pkgname='perl-pod-pom' pkgver='0.29' pkgrel='1' pkgdesc="POD Object Model" arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') depends=('perl>=5.006') makedepends=('perl-file-slurp') url='http://search.cpan.org/dist/Pod-POM' source=("http://search.cpan.org/CPAN/authors/id/A/AN/ANDREWF/Pod-POM-${pkgver}.tar.gz") sha512sums=('7847507d1fb5589c8f48b080862c25264d08de60ae46d6bf23ba9daf0ecedf983c7beb223c64403add88db5ac72056c2d8b7aaf87aec54438d6730d77b8c7741') _distdir="Pod-POM-${pkgver}" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ PERL_AUTOINSTALL=--skipdeps \ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ MODULEBUILDRC=/dev/null cd "$srcdir/$_distdir" /usr/bin/perl Makefile.PL make ) } check() { cd "$srcdir/$_distdir" ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test ) } package() { cd "$srcdir/$_distdir" make install find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } # Local Variables: # mode: shell-script # sh-basic-offset: 2 # End: # vim:set ts=2 sw=2 et: