# -*- 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        usbids usbids 5de1427442504bc8e28d35cca5397d64ea177456
version             2025.12.13
revision            0
checksums           rmd160  78a231cb2fcf9873c0be3c240602f2bdc4248979 \
                    sha256  a892fd03753d223963ff9c792ac79cbc5dc3a1f73df90b4bef56ee5c09cc1921 \
                    size    268673

categories          sysutils
license             {GPL-2+ BSD}
maintainers         nomaintainer
supported_archs     noarch
platforms           any

description         The USB ID Repository
long_description    This is a public repository of all known IDs used \
                    in USB devices: IDs of vendors, devices, \
                    subsystems and device classes. It is used in \
                    various programs (e.g., The USB Utilities) to \
                    display full human-readable names instead of \
                    cryptic numeric codes.
homepage            http://www.linux-usb.org/usb-ids.html
github.tarball_from archive

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

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