# Template file for 'osinfo-db'
pkgname=osinfo-db
version=20221130
revision=1
build_style=fetch
hostmakedepends="osinfo-db-tools"
short_desc="Osinfo database about operating systems"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://libosinfo.org"
distfiles="https://releases.pagure.org/libosinfo/osinfo-db-${version}.tar.xz"
checksum=a2954cad7a1bef2679949987c63888f1e081b09e11fb725054372f037ec7717f
skip_extraction="${pkgname}-${version}.tar.xz"

do_install() {
	osinfo-db-import --root "$DESTDIR" --system "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
}
