blob: 9c5c5619f6bde7d4042d96462ecdc5756243b487 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
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"
|