Date: Sunday, June 21, 2020 @ 15:47:51 Author: felixonmars Revision: 389880
archrelease: copy trunk to staging-any Added: perl-file-copy-recursive/repos/staging-any/ perl-file-copy-recursive/repos/staging-any/PKGBUILD (from rev 389879, perl-file-copy-recursive/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: perl-file-copy-recursive/repos/staging-any/PKGBUILD (from rev 389879, perl-file-copy-recursive/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2020-06-21 15:47:51 UTC (rev 389880) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@gmail.com> + +pkgname=perl-file-copy-recursive +pkgver=0.45 +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=('6d8a6c55bc54bfe5ce3834527776c6b1466d5672f5f8901c27053188bbc78e87dd62bed8d330c04079b02d0967be0a8d0cd779e67973cf79a2c6ff87d5921c60') + +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 +}