p5-eval-closure: initial commit, version 0.14

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

View File

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

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30Ck9dghXVxAspux6Br5CBAh/t2IcX092x3fkO10D5dpEU6DeV9L4LHXYAVrcxPbR7WJfrcm+qIjUbLSpg9w+ww=
SHA256 (Pkgfile) = 8990da7d5584236ecbf03fb380d74cc40b97935580bcd1076cb0f23a92bcb6fd
SHA256 (.footprint) = 2c7c8fcf243b98290bc57658573e65f2e3d860ba40614961307453438ad417c1
SHA256 (Eval-Closure-0.14.tar.gz) = ea0944f2f5ec98d895bef6d503e6e4a376fea6383a6bc64c7670d46ff2218cad

21
p5-eval-closure/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: safely and cleanly create closures via string eval
# URL: https://metacpan.org/release/Eval-Closure
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-sub-exporter p5-try-tiny
name=p5-eval-closure
version=0.14
release=1
source=(https://cpan.metacpan.org/authors/id/D/DO/DOY/Eval-Closure-$version.tar.gz)
build() {
cd Eval-Closure-$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 '*.pod' \) -delete
}