ack: revbump, cleanup, add tests

This commit is contained in:
Joachim Mairböck
2024-07-06 19:56:19 +02:00
parent 01dde60b32
commit f5b2d3b6f3

View File

@@ -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
}