void-packages/srcpkgs/osinfo-db/template

18 lines
622 B
Bash

# Template file for 'osinfo-db'
pkgname=osinfo-db
version=20180416
revision=1
create_wrksrc=yes
hostmakedepends="osinfo-db-tools"
short_desc="Osinfo database about operating systems"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://libosinfo.org"
distfiles="https://releases.pagure.org/libosinfo/$pkgname-$version.tar.xz"
checksum=0686cc2281b35c6834aa1e20a5ad36ebb64843f068c1192f203f7f9e171e5561
skip_extraction="${pkgname}-${version}.tar.xz"
do_install() {
osinfo-db-import --root "$DESTDIR" --system "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
}