# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=perl-file-copy-recursive pkgver=0.44 _realname=File-Copy-Recursive-$pkgver pkgrel=0 pkgdesc="Perl extension for recursively copying files and directories" url="http://search.cpan.org/dist/File-Copy-Recursive/" arch="noarch" license="GPL PerlArtistic" depends="" makedepends="perl-dev" checkdepends="perl-test-deep perl-test-exception" options="!check" # requires several new pkgs which will ! begin in main subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/$_realname.tar.gz" builddir="$srcdir/$_realname" build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="7599c48cee0b9848d5e275a1de00845cb2d4820eda9092d550063d4791974870129ce8d3d9337a8f7ea413ed4c21e533c2eb3134c2fcb5cc412dbbfddd2500e4 File-Copy-Recursive-0.44.tar.gz"