# -*- 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.0
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  93683cb0fd33813f89a119852952def334a38cca \
                    sha256  26c089b43f9d1b6a0d5bcc76fca2ec2b90d336429382d298495720dd31032580 \
                    size    25506

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