diff --git a/sys-apps/ack/ack-3.7.0.recipe b/sys-apps/ack/ack-3.7.0.recipe index cb1a47c8e..f68e83052 100644 --- a/sys-apps/ack/ack-3.7.0.recipe +++ b/sys-apps/ack/ack-3.7.0.recipe @@ -3,7 +3,7 @@ DESCRIPTION="ack is designed as an alternative to grep for programmers." HOMEPAGE="https://beyondgrep.com/" COPYRIGHT="2005-2020 Andy Lester" LICENSE="Artistic" -REVISION="1" +REVISION="2" SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/ack-v$portVersion.tar.gz" CHECKSUM_SHA256="ea7caa14f757de083310ed2cba298661ddcca5dee06ec8f18043ea625a79df20" SOURCE_DIR="ack-v$portVersion" @@ -37,5 +37,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 }