# -*- 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           github 1.0

github.setup        pciutils pciids 99ac019de282170f56d0cd490e6e438df158741a
version             2026.02.18
revision            0
checksums           rmd160  79126fa7092c6424f3e0ad2e32d388f0418a0b1b \
                    sha256  63c8527238cea72fb8c77de4a5adbd31b44debddf014a0da352ae266cefa5d10 \
                    size    364913

categories          sysutils
license             {GPL-2+ BSD}
maintainers         {i0ntempest @i0ntempest} openmaintainer
supported_archs     noarch
platforms           any

homepage            https://pci-ids.ucw.cz

description         The pci.ids file
long_description    This repository contains the history of the pci.ids file, which is \
                    automatically generated from the PCI ID Database at ${homepage}.

github.tarball_from archive

use_configure       no
build {}
destroot {
    xinstall -m 644 ${worksrcpath}/pci.ids ${destroot}${prefix}/share
}

livecheck.version   ${version}
livecheck.type      regex
livecheck.url       ${github.raw}/master/pci.ids
livecheck.regex     {Version: (\d{4}\.\d{2}\.\d{2})}
