void-packages/srcpkgs/osinfo-db/template

19 lines
636 B
Bash

# Template file for 'osinfo-db'
pkgname=osinfo-db
version=20200813
revision=1
archs=noarch
build_style=fetch
hostmakedepends="osinfo-db-tools"
short_desc="Osinfo database about operating systems"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://libosinfo.org"
distfiles="https://releases.pagure.org/libosinfo/${pkgname}-${version}.tar.xz"
checksum=31bfa60114f05ca26b5d16766832b86a23c7fa5a0fc44323154bf8b627c9f488
skip_extraction="${pkgname}-${version}.tar.xz"
do_install() {
osinfo-db-import --root "$DESTDIR" --system "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
}