void-packages/srcpkgs/osinfo-db/template
2019-02-18 19:37:56 -03:00

18 lines
639 B
Bash

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