commit b1018994c04a52ded13a275c5f52b91bcafd84a3 Author: Tim Biermann <tbier@posteo.de> Date: Sat Aug 31 10:40:08 2019 +0000 p5-eval-closure: initial commit, version 0.14 diff --git a/p5-eval-closure/.footprint b/p5-eval-closure/.footprint new file mode 100644 index 00000000..33fa3bea --- /dev/null +++ b/p5-eval-closure/.footprint @@ -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 diff --git a/p5-eval-closure/.signature b/p5-eval-closure/.signature new file mode 100644 index 00000000..cfc4b49b --- /dev/null +++ b/p5-eval-closure/.signature @@ -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 diff --git a/p5-eval-closure/Pkgfile b/p5-eval-closure/Pkgfile new file mode 100644 index 00000000..a72e460f --- /dev/null +++ b/p5-eval-closure/Pkgfile @@ -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 +}