# Contributor: John D Jones III # Generator : CPANPLUS::Dist::Arch 1.25 pkgname='perl-chart-gnuplot' pkgver='0.23' pkgrel='1' pkgdesc="Plot graph using Gnuplot in Perl on the fly" arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') depends=('perl') makedepends=() url='http://search.cpan.org/dist/Chart-Gnuplot' source=('http://search.cpan.org/CPAN/authors/id/K/KW/KWMAK/Chart/Gnuplot/Chart-Gnuplot-0.23.tar.gz') md5sums=('03d143691ca58a1314526acc86a09379') _distdir="Chart-Gnuplot-0.23" 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: