# -*- 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 4756a2fe9e6d8555e765236a9be5c6d778954780
version             2024.09.19
revision            0
checksums           rmd160  c29ad7e010ab90c4524fe35c84503240a583dffe \
                    sha256  0d87359bc11152eb12d9d0b2d07e3fec83e4413838fa603c0125fd05e6df6197 \
                    size    340769

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