db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / perl-file-copy-recursive / repos / extra-any / PKGBUILD
blobda84dbbd6a87104cb1e398911617f8b697d62e33
1 # Maintainer: Felix Yan <felixonmars@gmail.com>
3 pkgname=perl-file-copy-recursive
4 pkgver=0.45
5 pkgrel=5
6 pkgdesc="Perl extension for recursively copying files and directories"
7 arch=('any')
8 url="https://metacpan.org/release/File-Copy-Recursive"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl')
11 checkdepends=('perl-path-tiny' 'perl-test-deep' 'perl-test-fatal' 'perl-test-file'
12               'perl-test-warnings')
13 options=('!emptydirs')
14 source=("https://cpan.metacpan.org/authors/id/D/DM/DMUEY/File-Copy-Recursive-$pkgver.tar.gz")
15 sha512sums=('6d8a6c55bc54bfe5ce3834527776c6b1466d5672f5f8901c27053188bbc78e87dd62bed8d330c04079b02d0967be0a8d0cd779e67973cf79a2c6ff87d5921c60')
17 build() {
18   cd File-Copy-Recursive-$pkgver
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check () {
24   cd File-Copy-Recursive-$pkgver
25   make test
28 package () {
29   cd File-Copy-Recursive-$pkgver
30   make DESTDIR="$pkgdir" install