void-packages/srcpkgs/osinfo-db/template
2020-03-08 05:39:36 +01:00

18 lines
636 B
Bash

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