# -*- 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 297388e1f7455b2be5cc07dc6939f8a332c93a06
version             2026.10.15
revision            0
checksums           rmd160  1ddc0cb7f2fd424e9f6e76fd87bf4755d1152dbb \
                    sha256  a6b6899f5a5a0510d50f6a4805b7f9c35866703fbf4c3c856ec2fd2c0d5a0147 \
                    size    379971

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})}
