summaryrefslogblamecommitdiff
path: root/user/perl-file-copy-recursive-reduced/APKBUILD
blob: 24c61fa5433b051a76ef8b75b18dd8fb93b1f92d (plain) (tree)
1
2
3
4
5
6
7
8
                                       
                                                          
                                        



                                    
            



                                                                            
                                       
              
                                               
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                                       
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-file-copy-recursive-reduced
_pkgreal=File-Copy-Recursive-Reduced
_author=JKEENAN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.007
pkgrel=0
pkgdesc="Recursive copying of files and directories within Perl 5 toolchain"
url="https://metacpan.org/pod/File::Copy::Recursive::Reduced"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
checkdepends="perl-capture-tiny perl-path-tiny"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="7b2029acc3cd4cf5775df60b0d716da3868283bbce4bf4717dcd95fad112973ccd4df25ab88312d5a2a4f332399312d412bb2fd81245f843a619eae0ee5be085  File-Copy-Recursive-Reduced-0.007.tar.gz"