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

name                osinfo-db
version             20251212
platforms           any
categories          sysutils gnome
license             LGPL-2.1+
maintainers         {makr @mohd-akram} openmaintainer
supported_archs     noarch

description         Libosinfo database files
long_description    {*}${description}

homepage            https://libosinfo.org
master_sites        https://releases.pagure.org/libosinfo/

checksums           rmd160  0b5a67b96835450647b2b5c8c77df3e2fb87eb3a \
                    sha256  06379250c91306c98cb9726af44eae5909dfdd5449f90331e904ae1221d8d5e7 \
                    size    174228

depends_build       port:osinfo-db-tools

use_xz              yes
use_configure       no

extract.only

build {}

destroot {
    system "osinfo-db-import --system --root \"${destroot}\" \"${distpath}/${distfiles}\""
}
