aboutsummaryrefslogtreecommitdiffstats
path: root/community/libjcat/APKBUILD
blob: 95ccb5d32071ceb068b341140435e43561442ebb (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libjcat
pkgver=0.1.8
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 py3-setuptools"
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="
058bcf7ddddc7a3cedefcfcef9947c5f318fa806c8673b991be29f36e4fa0e09e51e972c0bebe0404fd92060715f8a497a0c0566d743bf6f3fa71bc3d94688c9  libjcat-0.1.8.tar.gz
"