# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=libjcat pkgver=0.1.4 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="meson glib-dev json-glib-dev gnutls-dev gpgme-dev libgpg-error-dev gtk-doc help2man gnutls-utils gobject-introspection-dev vala" subpackages="$pkgname-dev $pkgname-doc" source="https://github.com/hughsie/libjcat/archive/$pkgver/libjcat-$pkgver.tar.gz" build() { abuild-meson \ -Dgtkdoc=true \ . 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="d58860410ce6e9d35a1eefcd0c6fcd956db42a12a3e8f856e19e3abe8bd6ae304ab7a60e2c1ee28f3848f2fee3b406dd900d7c1024eca5602797711528d3f7e3 libjcat-0.1.4.tar.gz"