From 2031ceeff86ce36a6404d8a78276e1fce12edbe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Sat, 6 Jul 2024 15:42:03 +0200 Subject: [PATCH] file_next: revbump for new perl, cleanup, add tests --- dev-perl/file_next/file_next-1.18.recipe | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/dev-perl/file_next/file_next-1.18.recipe b/dev-perl/file_next/file_next-1.18.recipe index ef2cdb28d..6e611d36b 100644 --- a/dev-perl/file_next/file_next-1.18.recipe +++ b/dev-perl/file_next/file_next-1.18.recipe @@ -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 }