# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=libjcat pkgver=0.1.14 pkgrel=0 pkgdesc="Library for working with JSON catalogues" url="https://github.com/hughsie/libjcat" arch="all" license="LGPL-2.1+" depends="" makedepends="cmake meson ninja glib-dev gnutls-dev gnutls-utils gobject-introspection-dev gpgme-dev help2man json-glib-dev vala-dev" subpackages="$pkgname-dev $pkgname-doc" source="libjcat-$pkgver.tar.gz::https://github.com/hughsie/libjcat/archive/$pkgver.tar.gz" # secfixes # 0.1.2-r1: # - CVE-2020-10759 build() { meson setup \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ --wrap-mode=nofallback \ . output meson compile -C output } check() { meson test -C output } package() { DESTDIR="$pkgdir" meson install -C output } sha512sums="837a50ad31a736a36bd9df26b151c198e18873df0e7444502b7a6e26a86df15f1df970112f2dd22658960389fdfb78a2c601274e2b5c46ec82fceef5aad778c1 libjcat-0.1.14.tar.gz"