summaryrefslogblamecommitdiff
path: root/user/perl-file-copy-recursive/APKBUILD
blob: 8abeb6647e6bd2b8f8f23a6e999182af74a4c357 (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
_pkgreal=File-Copy-Recursive
_author=DMUEY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.45
pkgrel=0
pkgdesc="Perl extension for recursively copying files and directories"
url="https://metacpan.org/pod/File::Copy::Recursive"
arch="noarch"
license="Artistic-1.0-Perl AND GPL-1.0+"
depends="perl"
checkdepends="perl-test-fatal perl-test-warnings perl-path-tiny perl-test-deep perl-test-file"
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="6d8a6c55bc54bfe5ce3834527776c6b1466d5672f5f8901c27053188bbc78e87dd62bed8d330c04079b02d0967be0a8d0cd779e67973cf79a2c6ff87d5921c60  File-Copy-Recursive-0.45.tar.gz"