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