Date: Saturday, May 25, 2019 @ 11:32:16 Author: felixonmars Revision: 354241
archrelease: copy trunk to staging-any Added: perl-file-copy-recursive/repos/staging-any/ perl-file-copy-recursive/repos/staging-any/PKGBUILD (from rev 354240, perl-file-copy-recursive/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: perl-file-copy-recursive/repos/staging-any/PKGBUILD (from rev 354240, perl-file-copy-recursive/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2019-05-25 11:32:16 UTC (rev 354241) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@gmail.com> + +pkgname=perl-file-copy-recursive +pkgver=0.44 +pkgrel=3 +pkgdesc="Perl extension for recursively copying files and directories" +arch=('any') +url="https://metacpan.org/release/File-Copy-Recursive" +license=('GPL' 'PerlArtistic') +depends=('perl') +checkdepends=('perl-path-tiny' 'perl-test-deep' 'perl-test-fatal' 'perl-test-file' + 'perl-test-warnings') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/D/DM/DMUEY/File-Copy-Recursive-$pkgver.tar.gz") +sha512sums=('7599c48cee0b9848d5e275a1de00845cb2d4820eda9092d550063d4791974870129ce8d3d9337a8f7ea413ed4c21e533c2eb3134c2fcb5cc412dbbfddd2500e4') + +build() { + cd File-Copy-Recursive-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check () { + cd File-Copy-Recursive-$pkgver + make test +} + +package () { + cd File-Copy-Recursive-$pkgver + make DESTDIR="$pkgdir" install +}