1
0
forked from ports/contrib

p5-namespace-clean: initial commit, version 0.27

This commit is contained in:
Tim Biermann 2019-08-31 10:40:27 +00:00
parent f544cb0322
commit 3bedfe56be
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,19 @@
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/5.28/
drwxr-xr-x root/root usr/lib/perl5/5.28/linux-thread-multi/
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/linux-thread-multi/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/namespace/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/namespace/clean/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/namespace/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/namespace/clean.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/namespace/clean/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/namespace/clean/_Util.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/namespace::clean.3pm.gz

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zZYihRGwznTyHEhRJlutAtFb1h13Hl+8FloeqpGaRPTnhWxC4m5qflrdfzAJ9ZTG0mCHc1bKqdcXH+KIKOgFAA=
SHA256 (Pkgfile) = 9b86f5b0033cbf4833b8ab3954532f05daba421b686a148858b2e08700838983
SHA256 (.footprint) = f2c32f409b6b89c4f14d4d05f0722ea50b1d42840575e35da7a3eb894ae5e0fa
SHA256 (namespace-clean-0.27.tar.gz) = 8a10a83c3e183dc78f9e7b7aa4d09b47c11fb4e7d3a33b9a12912fd22e31af9d

View File

@ -0,0 +1,26 @@
# Description: Keep imports and functions out of your namespace
# URL: https://cpan.metacpan.org/dist/namespace-clean
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-b-hooks-endofscope p5-package-stash
name=p5-namespace-clean
version=0.27
release=1
source=(https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/namespace-clean-$version.tar.gz)
build() {
cd namespace-clean-$version
export \
PERL_MM_USE_DEFAULT=1 \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$PKG"'" \
PERL_MB_OPT="--installdirs vendor --destdir '"$PKG"'" \
MODULEBUILDRC=/dev/null
perl Makefile.PL
make
make install
find $PKG -name .packlist -o \
-name perllocal.pod -o \
-name README -o \
-name '*.bs' | xargs rm
}