aboutsummaryrefslogtreecommitdiffstats
path: root/community/libjcat/APKBUILD
blob: a897efca6ab8e2d239f52e5585f9327fae888316 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libjcat
pkgver=0.1.3
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="f021e10d740ac6d0f0c73cefc9deacdbc74882a5e340b249c28427ece4917358940413914ce19c5aac96c86d8056349ff2ee633c2a9541f4382f109d9e0d9e69  libjcat-0.1.3.tar.gz"