projects/aports·blob master · refs

33 lines · 1.1 KiB

1# Contributor: Stuart Cardall <[email protected]>
2# Maintainer: Stuart Cardall <[email protected]>
3pkgname=perl-file-copy-recursive
4pkgver=0.45
5_pkgreal=File-Copy-Recursive
6pkgrel=3
7pkgdesc="Perl extension for recursively copying files and directories"
8url="https://metacpan.org/release/File-Copy-Recursive"
9arch="noarch"
10license="GPL-1.0-or-later OR Artistic-1.0-Perl"
11depends="perl"
12checkdepends="perl-test-deep perl-test-exception"
13options="!check" # requires several new pkgs which will ! begin in main
14subpackages="$pkgname-doc"
15source="https://cpan.metacpan.org/authors/id/D/DM/DMUEY/File-Copy-Recursive-$pkgver.tar.gz"
16
17builddir="$srcdir/$_pkgreal-$pkgver"
18
19build() {
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21 make
22}
23
24check() {
25 make test
26}
27
28package() {
29 make DESTDIR="$pkgdir" install
30 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
31}
32
33sha512sums="6d8a6c55bc54bfe5ce3834527776c6b1466d5672f5f8901c27053188bbc78e87dd62bed8d330c04079b02d0967be0a8d0cd779e67973cf79a2c6ff87d5921c60 File-Copy-Recursive-0.45.tar.gz"