tie_simple: add tests, cleanup

This commit is contained in:
Joachim Mairböck
2023-09-17 11:00:21 +02:00
parent fdc2d3f8ee
commit 68f4a0581b

View File

@@ -11,7 +11,7 @@ to minimize the need for documentation and to make this extra, extra spiffy."
HOMEPAGE="https://metacpan.org/pod/Tie::Simple"
COPYRIGHT="2015 by Qubling Software LLC."
LICENSE="Artistic"
REVISION="1"
REVISION="2"
SOURCE_URI="https://cpan.metacpan.org/authors/id/H/HA/HANENKAMP/Tie-Simple-$portVersion.tar.gz"
CHECKSUM_SHA256="29e9e2133951046c78f205f1b3e8df62c90e114f0e08fa06b817766a0f808b12"
SOURCE_DIR="Tie-Simple-$portVersion"
@@ -42,5 +42,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
}