Files
MSYS2-packages/perl-File-Copy-Recursive/PKGBUILD
2018-02-14 11:24:47 +03:00

32 lines
793 B
Bash

# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_realname=File-Copy-Recursive
pkgname=perl-${_realname}
pkgver=0.40
pkgrel=1
pkgdesc="extension for recursively copying files and directories"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='http://search.cpan.org/dist/File-Copy-Recursive'
groups=('perl-modules')
source=("https://www.cpan.org/authors/id/D/DM/DMUEY/${_realname}-${pkgver}.tar.gz")
sha256sums=('e8b8923b930ef7bcb59d4a97456d0e149b8487597cd1550f836451d936ce55a1')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${srcdir}/${_realname}-${pkgver}"
make test
}
package() {
cd "${srcdir}/${_realname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}