# Automatically generated by apkbuild-cpan, template 3 # Maintainer: Francesco Colista pkgname=perl-file-remove #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=File-Remove pkgver=1.61 pkgrel=1 pkgdesc="Remove files and directories" url="https://metacpan.org/release/File-Remove/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/File-Remove-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL --installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" 2ff999f7d71349b7e4a7db8728cfe2b5669c76fb27ca42fe006b0e0061bb73a29d556f3e3da88c004a4dd23bf2d9e12a1e1054b85237e8c14fb2b58c1086971f File-Remove-1.61.tar.gz "