# Contributor: Leo # Maintainer: Natanael Copa pkgname=osinfo-db-tools pkgver=1.10.0 pkgrel=2 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 libsoup3-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() { abuild-meson . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 71cbbc86e5cc7bbde32890cbf3900264f7b23450815df0bbd05f36797372398fd9bd735e475a29f06dba64ae9dd50736b85025a918ab4731a42f5c2bb5bf6180 osinfo-db-tools-v1.10.0.tar.gz "