diff --git a/dev-perl/archive_extract/archive_extract-0.88.recipe b/dev-perl/archive_extract/archive_extract-0.88.recipe index f34db1333..50bec2a94 100644 --- a/dev-perl/archive_extract/archive_extract-0.88.recipe +++ b/dev-perl/archive_extract/archive_extract-0.88.recipe @@ -6,7 +6,7 @@ commandline tools" HOMEPAGE="https://metacpan.org/pod/Archive::Extract" COPYRIGHT="2006-2021 Andy Lester" LICENSE="Artistic" -REVISION="1" +REVISION="2" SOURCE_URI="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Extract-$portVersion.tar.gz" CHECKSUM_SHA256="cffcf135cd0622287d3b02154f7d6716495449fcaed03966621948e25ea5f742" SOURCE_DIR="Archive-Extract-$portVersion" @@ -38,5 +38,15 @@ BUILD() INSTALL() { - make install DESTDIR="${DESTDIR}" + 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 }