Files
hakurei/internal/rosa/package/unzip.az
Ophestra 6546ddc64b internal/rosa: expose in-place behaviour in generic helper
This change also combines the createDir and wantsDir methods, and replaces the non-inplace target of the generic helper with a deterministic path.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21 16:11:38 +09:00

37 lines
733 B
Go

package unzip {
description = "portable compression/archiver utilities";
website = "https://infozip.sourceforge.net";
anitya = 8684;
version* = "6.0";
source = remoteTar {
url = "https://downloads.sourceforge.net/project/infozip/"+
"UnZip%206.x%20%28latest%29/UnZip%20"+version+"/"+
"unzip"+replace {
s = version;
old = ".";
}+".tar.gz";
checksum = "fcqjB1IOVRNJ16K5gTGEDt3zCJDVBc7EDSra9w3H93stqkNwH1vaPQs_QGOpQZu1";
compress = gzip;
};
enterSource = true;
writable = true;
chmod = true;
exec = generic {
inPlace = true;
build = `unix/configure
make -f unix/Makefile generic1`;
install = `
mkdir -p /work/system/bin/
mv unzip /work/system/bin/
`;
};
inputs = [
make,
coreutils,
];
}