class_inspector: add tests, cleanup

This commit is contained in:
Joachim Mairböck
2023-09-17 10:35:31 +02:00
parent 5b2f2bb0a2
commit 31018846e1

View File

@@ -6,7 +6,7 @@ Class::Inspector attempts to provide an easier, more friendly interface to this
HOMEPAGE="https://metacpan.org/pod/Class::Inspector"
COPYRIGHT="2002-2019 by Adam Kennedy"
LICENSE="Artistic"
REVISION="1"
REVISION="2"
SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Class-Inspector-$portVersion.tar.gz"
CHECKSUM_SHA256="cc295d23a472687c24489d58226ead23b9fdc2588e522f0b5f0747741700694e"
SOURCE_DIR="Class-Inspector-$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
}