void-packages/srcpkgs/osinfo-db/template
2019-03-19 13:40:09 -03:00

18 lines
639 B
Bash

# Template file for 'osinfo-db'
pkgname=osinfo-db
version=20190319
revision=1
archs=noarch
build_style=fetch
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=9c01c671f47c8927858e88406d6b6bd448f47dbb077917ac5acc4a80c188f5b5
skip_extraction="${pkgname}-${version}.tar.xz"
do_install() {
osinfo-db-import --root "$DESTDIR" --system "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
}