# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=libjcat pkgver=0.1.14 pkgrel=0 pkgdesc="Library for reading and writing Jcat files" url="https://github.com/hughsie/libjcat" arch="all" license="LGPL-2.1-or-later" makedepends=" glib-dev gnutls-dev gnutls-utils gobject-introspection-dev gpgme-dev help2man json-glib-dev libgpg-error-dev meson py3-setuptools vala " subpackages="$pkgname-dev $pkgname-tools $pkgname-doc" source="https://github.com/hughsie/libjcat/archive/$pkgver/libjcat-$pkgver.tar.gz" build() { abuild-meson \ -Db_lto=true \ -Dgtkdoc=false \ -Dcli=true \ . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output rm -rf "$pkgdir"/usr/libexec/installed-tests } tools() { amove usr/bin } sha512sums=" 837a50ad31a736a36bd9df26b151c198e18873df0e7444502b7a6e26a86df15f1df970112f2dd22658960389fdfb78a2c601274e2b5c46ec82fceef5aad778c1 libjcat-0.1.14.tar.gz "