SUMMARY="A perl module for generic archive extraction" DESCRIPTION="Archive::Extract is a generic archive extraction mechanism. It allows you to extract .tgz, .tar, .gz and .zip files, using either perl modules or \ commandline tools" HOMEPAGE="https://metacpan.org/pod/Archive::Extract" COPYRIGHT="2006-2021 Andy Lester" LICENSE="Artistic" REVISION="3" SOURCE_URI="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Extract-$portVersion.tar.gz" CHECKSUM_SHA256="cffcf135cd0622287d3b02154f7d6716495449fcaed03966621948e25ea5f742" SOURCE_DIR="Archive-Extract-$portVersion" PATCHES="archive_extract-$portVersion.patchset" ARCHITECTURES="any" PROVIDES=" archive_extract = $portVersion " REQUIRES=" haiku vendor_perl " BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" cmd:make cmd:perl " BUILD() { perl Makefile.PL PREFIX=$prefix make } INSTALL() { make pure_install # remove architecture-specific files cd $prefix rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-) # cut extracts the quoted string and strips the prefix (which is perl's and not ours) } TEST() { make test }