Date: Sunday, July 1, 2012 @ 20:08:23 Author: dan Revision: 162850 New package; dep for munin 2.0.x
Added: perl-file-copy-recursive/ perl-file-copy-recursive/repos/ perl-file-copy-recursive/trunk/ perl-file-copy-recursive/trunk/PKGBUILD ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Added: perl-file-copy-recursive/trunk/PKGBUILD =================================================================== --- perl-file-copy-recursive/trunk/PKGBUILD (rev 0) +++ perl-file-copy-recursive/trunk/PKGBUILD 2012-07-02 00:08:23 UTC (rev 162850) @@ -0,0 +1,38 @@ +# Maintainer: Dan McGee <[email protected]> +# Contributor: AUR Perl <[email protected]> + +pkgname=perl-file-copy-recursive +pkgver=0.38 +pkgrel=2 +pkgdesc="extension for recursively copying files and directories" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +url='http://search.cpan.org/dist/File-Copy-Recursive' +source=("http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Copy-Recursive-$pkgver.tar.gz") +md5sums=('e76dc75ab456510d67c6c3a95183f72f') + +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/File-Copy-Recursive-$pkgver" + perl Makefile.PL + make +} + +check() { + cd "$srcdir/File-Copy-Recursive-$pkgver" + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test +} + +package() { + cd "$srcdir/File-Copy-Recursive-$pkgver" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +}
