diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-05 19:08:23 -0800 |
---|---|---|
committer | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-08 16:33:29 -0800 |
commit | 12d5ddf74f72315309f73ede62f803acc352ab2d (patch) | |
tree | a2f6b5fffbfe6afedf87a423f3477b99edece308 | |
parent | 7dcd54d9df53ed900793c4166057ddb0be5eb047 (diff) | |
download | packages-12d5ddf74f72315309f73ede62f803acc352ab2d.tar.gz packages-12d5ddf74f72315309f73ede62f803acc352ab2d.tar.bz2 packages-12d5ddf74f72315309f73ede62f803acc352ab2d.tar.xz packages-12d5ddf74f72315309f73ede62f803acc352ab2d.zip |
user/gcr: new package
-rw-r--r-- | user/gcr/APKBUILD | 37 |
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" |