file_next: revbump for new perl, cleanup, add tests

This commit is contained in:
Joachim Mairböck
2024-07-06 15:42:03 +02:00
parent 10bf9480c0
commit 2031ceeff8

View File

@@ -3,7 +3,7 @@ DESCRIPTION="File::Next is a lightweight, taint-safe file-finding module."
HOMEPAGE="https://metacpan.org/release/File-Next"
COPYRIGHT="2005-2019 Andy Lester"
LICENSE="Artistic"
REVISION="2"
REVISION="3"
SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/File-Next-$portVersion.tar.gz"
CHECKSUM_SHA256="f900cb39505eb6e168a9ca51a10b73f1bbde1914b923a09ecd72d9c02e6ec2ef"
SOURCE_DIR="File-Next-$portVersion"
@@ -34,5 +34,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
}