# Contributor: Leo # Maintainer: Natanael Copa pkgname=osinfo-db-tools pkgver=1.6.0 pkgrel=0 pkgdesc="Tools for managing the osinfo database" url="https://libosinfo.org/" arch="all" license="GPL-2.0-or-later" makedepends="intltool glib-dev libxml2-dev libarchive-dev libxslt-dev json-glib-dev automake autoconf libtool libsoup-dev xz" checkdepends="py3-pytest py3-requests" subpackages="$pkgname-doc $pkgname-lang" source="https://releases.pagure.org/libosinfo/osinfo-db-tools-$pkgver.tar.gz" prepare() { default_prepare autoreconf -fi } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="a3bdf9d913b388b0f567a14245f57c4f1da9dae40d723f8e76096ffdae9d7a8e587ed4832e3e59c820bc01bbb2b74815b3fefd8e1f47cebd903091457fdee951 osinfo-db-tools-1.6.0.tar.gz"