mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
archive_zip: cleanup, add tests
This commit is contained in:
@@ -4,7 +4,7 @@ Zip archive files."
|
||||
HOMEPAGE="https://metacpan.org/pod/Archive::Zip"
|
||||
COPYRIGHT="2000-2020 Ned Kon"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="984e185d785baf6129c6e75f8eb44411745ac00bf6122fb1c8e822a3861ec650"
|
||||
SOURCE_DIR="Archive-Zip-$portVersion"
|
||||
@@ -13,6 +13,7 @@ ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
archive_zip = $portVersion
|
||||
cmd:crc32
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
@@ -35,5 +36,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