void-packages/srcpkgs/osinfo-db/template

18 lines
622 B
Bash

# Template file for 'osinfo-db'
pkgname=osinfo-db
version=20230719
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=13d1c97fc7d67137935dcc97778c08bb079a4f0fe312d479786cea1411e4845a
skip_extraction="${pkgname}-${version}.tar.xz"
do_install() {
osinfo-db-import --root "$DESTDIR" --system "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
}