summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/gcr/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/gcr/APKBUILD b/user/gcr/APKBUILD
new file mode 100644
index 000000000..4f727ff6e
--- /dev/null
+++ b/user/gcr/APKBUILD
@@ -0,0 +1,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"