p5-file-remove: initial commit, v1.60

This commit is contained in:
Alexandr Savca 2020-11-22 12:41:16 +02:00
parent bd9e1b5c91
commit 213582158b
3 changed files with 43 additions and 0 deletions

11
p5-file-remove/.footprint Normal file
View File

@ -0,0 +1,11 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/File/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/File/Remove.pm
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man3/
-r--r--r-- root/root usr/share/man/man3/File::Remove.3pm.gz

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39Jve60NhFO1ij7NDEfHBypGWQTcZCEcNim9i9UgtCtfiCtfn0GT6hnMS/sOqeMLpL+ccKqODJ3Oa71fWMvKjwU=
SHA256 (Pkgfile) = 4a37d5eaa3cef45b0a4ed7623c44f5f63dcfd5fe6ea0d3b756470bbaa0a092dd
SHA256 (.footprint) = 92d4cce3f8befa6bf69ecfb46f66f03cc87781558a09d53494e92cf65b70bf68
SHA256 (File-Remove-1.60.tar.gz) = e86e2a40ffedc6d5697d071503fd6ba14a5f9b8220af3af022110d8e724f8ca6

27
p5-file-remove/Pkgfile Normal file
View File

@ -0,0 +1,27 @@
# Description: Remove files and directories
# URL: https://metacpan.org/pod/File::Remove
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
name=p5-file-remove
version=1.60
release=1
source=(https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/File-Remove-$version.tar.gz)
build() {
cd File-Remove-$version
perl Makefile.PL
make
make install DESTDIR=$PKG
# remove perlcrap
find $PKG -name perllocal.pod \
-o -name "*.bs" \
-o -name .packlist \
-o -name autosplit.ix \
| xargs rm -f
# remove empty dirs
find $PKG -depth -type d -empty -delete
}