diff --git a/dev-perl/ipc_system_simple/ipc_system_simple-1.30.recipe b/dev-perl/ipc_system_simple/ipc_system_simple-1.30.recipe index ac61d3f16..64282ffd5 100644 --- a/dev-perl/ipc_system_simple/ipc_system_simple-1.30.recipe +++ b/dev-perl/ipc_system_simple/ipc_system_simple-1.30.recipe @@ -5,7 +5,7 @@ do check it, producing a well-formatted error string takes a lot of work." HOMEPAGE="https://metacpan.org/pod/IPC::System::Simple" COPYRIGHT="2020 by Paul Fenwick" LICENSE="Artistic" -REVISION="1" +REVISION="2" SOURCE_URI="https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/IPC-System-Simple-$portVersion.tar.gz" CHECKSUM_SHA256="22e6f5222b505ee513058fdca35ab7a1eab80539b98e5ca4a923a70a8ae9ba9e" SOURCE_DIR="IPC-System-Simple-$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 }