diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 06:21:49 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 06:21:49 +0900 |
| commit | 4bec0b890cdb7c0e00b54ab7db63405d77f44395 (patch) | |
| tree | 37a727156af6ab01736f1901d3e21c48dc3a8178 /internal/rosa/package | |
| parent | 7770ccf0aaeae5e81a911f789c0a211c9d25ffad (diff) | |
internal/rosa/package: migrate unzip
This is now possible via the generic helper.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package')
| -rw-r--r-- | internal/rosa/package/unzip.az | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/internal/rosa/package/unzip.az b/internal/rosa/package/unzip.az new file mode 100644 index 00000000..a802ddff --- /dev/null +++ b/internal/rosa/package/unzip.az @@ -0,0 +1,34 @@ +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; + }; + + writable = true; + chmod = true; + + exec = generic { + build = `unix/configure +make -f unix/Makefile generic1`; + install = ` +mkdir -p /work/system/bin/ +mv unzip /work/system/bin/ +`; + }; + + inputs = [ + make, + coreutils, + ]; +} |
