p5-file-slurp: initial import

This commit is contained in:
Danny Rawlins 2019-10-23 21:56:46 +11:00
parent 6ed51c4b69
commit 4cbfbf86d3
3 changed files with 37 additions and 0 deletions

11
p5-file-slurp/.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/Slurp.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::Slurp.3pm.gz

5
p5-file-slurp/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF368OR7hw8+0e/xFZ2Xn8VoxNsfLoX7yxDAnUhQ4PPv2Dj++vn8ER2rjsyeijsIdbzz5C4rvf4yAl3Z7tmWUgKAU=
SHA256 (Pkgfile) = 25eef913cd14dcbe4bc3225591a7b05599fbea9733aa504c8357a2585a5620ab
SHA256 (.footprint) = 335b10546cb1f8b6a70bb83ff736852d0f93040d68effc7ac223cdbaf19cf755
SHA256 (File-Slurp-9999.28.tar.gz) = 0587ce010bcb79db9e744f14b5498be97bf2c7f2474d971916d92f0a10827cee

21
p5-file-slurp/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: Read/write/append files quickly
# URL: https://metacpan.org/release/File-Slurp
# Maintainer: Danny Rawlins, crux at romster dot me
name=p5-file-slurp
_realname=File-Slurp
_author=CAPOEIRAB
version=9999.28
release=1
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$version.tar.gz)
build() {
cd $_realname-$version
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
make DESTDIR="$PKG" install
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
find $PKG -depth -empty -delete
}