mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
ack: revbump, cleanup, add tests
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user