# -*- 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             4.1.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  37d543ba45a14c4fe618f34b7c55a727cc842c86 \
                    sha256  275721a5d21e907875de74dabd3506335bc329016adea8fdc4113e7623b6a64b \
                    size    27922

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