# Template file for 'osinfo-db'
pkgname=osinfo-db
version=20181011
revision=1
create_wrksrc=yes
hostmakedepends="osinfo-db-tools"
short_desc="Osinfo database about operating systems"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://libosinfo.org"
distfiles="https://releases.pagure.org/libosinfo/${pkgname}-${version}.tar.xz"
checksum=974df77d63320a1e7fad7269520c70b9213f318b6180f4e21fb704db41511db8
skip_extraction="${pkgname}-${version}.tar.xz"

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