# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           npm 1.0
PortGroup           github 1.0

name                asar
version             3.4.1
revision            0

categories          archivers devel
license             MIT
maintainers         {i0ntempest @i0ntempest} openmaintainer

description         Simple extensive tar-like archive format with indexing
long_description    ${name} is a simple extensive archive format, it works like tar that concatenates all \
                    files together without compression, while having random access support.

homepage            https://www.electronjs.org/docs/latest/tutorial/asar-archives

npm.rootname        @electron/${name}
distname            ${name}-${version}

checksums           rmd160  0fc87ceac83588ffbaccd9c78b00ac3eeb491b7e \
                    sha256  c4e6ce52ade617c57913382f04512e9f4084dd2b3fde5f32639d8bcf42796102 \
                    size    25591

platform darwin {
    if {${os.major} <= 20} {
        # 11.0-
        npm.nodejs_version \
                    18
        npm.version 9
    }
}
