1
0
forked from ports/contrib

p5-archive-extract: initial import

This commit is contained in:
Danny Rawlins 2019-10-23 08:21:43 +11:00
parent e06dfc22c7
commit c305fe6440
3 changed files with 39 additions and 0 deletions

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/Archive/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Archive/Extract.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/Archive::Extract.3pm.gz

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF34NqwwI82M8brzf+Q4CzCJEiPdMSm7I76is1aoHUgAB+PlEediVM4Bc49y+eVSNt1IXi3H0G4+172ruM1sBRrwU=
SHA256 (Pkgfile) = 578f430806c90fa1e7dbd1196aea747b9513f78aff0069275c40893db55928b0
SHA256 (.footprint) = 8516a81a3e3d76fa35d3ff8da8b488bfe27514e1d8d95dc6e97a148cb1a17093
SHA256 (Archive-Extract-0.80.tar.gz) = 25cbc2d5626c14d39a0b5e4fe8383941e085c9a7e0aa873d86e81b6e709025f4

View File

@ -0,0 +1,23 @@
# Description: Generic archive extracting mechanism
# URL: https://metacpan.org/release/Archive-Extract
# Maintainer: Danny Rawlins, crux at romster dot me
name=p5-archive-extract
_realname=Archive-Extract
_author=BINGOS
version=0.80
release=1
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$version.tar.gz)
build() {
cd $_realname-$version
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
unset PERL5LIB PERL_MM_OPT
perl Makefile.PL
make
make install DESTDIR="$PKG" INSTALLDIRS=vendor
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
find $PKG -depth -empty -delete
}