diff --git a/dev-perl/file_slurp/file_slurp-9999.32.recipe b/dev-perl/file_slurp/file_slurp-9999.32.recipe index 3716e0f8c..0cfb97ece 100644 --- a/dev-perl/file_slurp/file_slurp-9999.32.recipe +++ b/dev-perl/file_slurp/file_slurp-9999.32.recipe @@ -5,7 +5,7 @@ contents and to be very efficient. There is also a sub to read in all the files HOMEPAGE="https://metacpan.org/pod/File::Slurp" COPYRIGHT="2003-2022 Uri Guttman" LICENSE="Artistic" -REVISION="1" +REVISION="2" SOURCE_URI="https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/File-Slurp-$portVersion.tar.gz" CHECKSUM_SHA256="4c3c21992a9d42be3a79dd74a3c83d27d38057269d65509a2f555ea0fb2bc5b0" SOURCE_DIR="File-Slurp-$portVersion" @@ -36,5 +36,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 }