summaryrefslogtreecommitdiff
path: root/user/gcr/APKBUILD
blob: 4f727ff6ec1622005431259faac308b680f9c72a (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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=gcr
pkgver=4.0.0
pkgrel=0
pkgdesc="Gnome cryptography user interface library"
url="https://gitlab.gnome.org/GNOME/gcr"
arch="all"
options="!check"  # test 42 (system-prompt) SIGTRAPs
license="LGPL-2.1+ AND LGPL-2.0+ AND LGPL-2.1-only AND GPL-2.0+ AND (GPL-2.0+ OR LGPL-2.1+ OR MPL-1.1) AND (LGPL-2.0+ OR LGPL-2.1+)"
depends=""
makedepends="meson ninja gi-docgen glib-dev gnupg gobject-introspection-dev
	gtk4-dev libgcrypt-dev libsecret-dev p11-kit-dev vala-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gcr/${pkgver%.*}/gcr-$pkgver.tar.xz"

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="5d036710c9ae58016467e63b60ab18e461ec1db1740880dccf555dd8c555b382b1ceac3e3ee6fda22dce395e93ba8ecf0578d6c815d08c2790e618f7ca5bfd50  gcr-4.0.0.tar.xz"