# Contributor: Leo # Maintainer: Natanael Copa pkgname=osinfo-db-tools pkgver=1.8.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() { abuild-meson . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { meson test --no-rebuild -v -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums="ce2adec28f50cdc071fda677aadb82918ed6f48361c62a52a064c07d1cf4d7d5ab6a0f8a6add599fbed74e5a787b17b864a67a94129266aafab24de3688d6a0b osinfo-db-tools-v1.8.0.tar.gz"