blob: a1e7f66ee0dd9115b7a195d868ea3c5a168a0097 (
plain)
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
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libjcat
pkgver=0.1.13
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="
a66082e3c1641b427af971843822a7893cd40dbb82a596737fd6445fe8e1b527a111dd8f48b9e25a563f0d13e77e22d4c2364ddf96cac38d3e2df5010b37708a libjcat-0.1.13.tar.gz
"
|