void-packages/srcpkgs/osinfo-db/template

18 lines
618 B
Bash

# Template file for 'osinfo-db'
pkgname=osinfo-db
version=20180311
revision=1
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=66510ff925a76fa124805d4283f72ddab3cf52a8928a4bed20a93891f54ef55f
skip_extraction="$pkgname-$version.tar.xz"
create_wrksrc=yes
do_install() {
osinfo-db-import --root "$DESTDIR" --system "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
}