# Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=perl-file-remove _pkgreal=File-Remove _author=SHLOMIF _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=1.61 pkgrel=0 pkgdesc="Remove files and directories" url="https://metacpan.org/release/File-Remove" arch="noarch" license="GPL-2.0-only OR Artistic-1.0-Perl" depends="perl" makedepends="" 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 || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="2ff999f7d71349b7e4a7db8728cfe2b5669c76fb27ca42fe006b0e0061bb73a29d556f3e3da88c004a4dd23bf2d9e12a1e1054b85237e8c14fb2b58c1086971f File-Remove-1.61.tar.gz"