void-packages/srcpkgs/osinfo-db/template

18 lines
623 B
Bash

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