void-packages/srcpkgs/osinfo-db/template

18 lines
622 B
Bash

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