# Contributor: Leo # Maintainer: Natanael Copa pkgname=osinfo-db-tools pkgver=1.7.0 pkgrel=0 pkgdesc="Tools for managing the osinfo database" url="https://libosinfo.org/" arch="all" license="GPL-2.0-or-later" makedepends=" meson glib-dev libxml2-dev libarchive-dev libxslt-dev json-glib-dev libsoup-dev perl " checkdepends="py3-pytest py3-requests" subpackages="$pkgname-doc $pkgname-lang" source="https://gitlab.com/libosinfo/osinfo-db-tools/-/archive/v$pkgver/osinfo-db-tools-v$pkgver.tar.gz" builddir="$srcdir/osinfo-db-tools-v$pkgver" build() { meson \ --prefix=/usr \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="021f3ffc5a43c8061bd50a0aad19fe1d004402e025c540ccebc39d1abd83aecacf5fd570402ebec60fefa17fcbe6255151000c06f93c861389713b569c919d14 osinfo-db-tools-v1.7.0.tar.gz"