diff --git a/dev-perl/capture_tiny/capture_tiny-0.48.recipe b/dev-perl/capture_tiny/capture_tiny-0.48.recipe index 42cc9d3bb..b57d89dc5 100644 --- a/dev-perl/capture_tiny/capture_tiny-0.48.recipe +++ b/dev-perl/capture_tiny/capture_tiny-0.48.recipe @@ -7,7 +7,7 @@ capturing modules to use in any particular situation and just use this one." HOMEPAGE="https://metacpan.org/pod/Capture::Tiny" COPYRIGHT="2009 by David Golden" LICENSE="Apache v2" -REVISION="1" +REVISION="2" SOURCE_URI="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-$portVersion.tar.gz" CHECKSUM_SHA256="6c23113e87bad393308c90a207013e505f659274736638d8c79bac9c67cc3e19" SOURCE_DIR="Capture-Tiny-$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 }