summaryrefslogtreecommitdiff
path: root/community/gnome-passwordsafe/APKBUILD
blob: cf8fea019617d96f38d3dd99c9dc432950c1d333 (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-passwordsafe
pkgver=6.5
pkgrel=4
pkgdesc="password manager for GNOME"
url="https://gitlab.gnome.org/World/secrets"
# s390x blocked by py3-keepass
arch="noarch !s390x"
license="GPL-3.0-only"
depends="
	libadwaita
	py3-cairo
	py3-gobject3
	py3-keepass>=4.0.1
	py3-libpwquality
	py3-otp>=2.4.0
	py3-pycryptodomex
	python3
	"
makedepends="
	desktop-file-utils
	gobject-introspection-dev
	gtk4.0-dev
	libadwaita-dev
	libpwquality-dev
	meson
	"
checkdepends="
	appstream-glib
	desktop-file-utils
	"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/secrets/-/archive/${pkgver/_/.}/secrets-${pkgver/_/.}.tar.bz2
	py3-keypass-4.0.3-compat.patch
	"
builddir="$srcdir/secrets-${pkgver/_/.}"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
fe23d8d0750c3997f2f471fa799d1a94276b8b51e0e09586c46da2899c0c0ff44d5a001baf2ca31962906c60ae9fd939f70c35f67fecf8ac141a1f72c2df320e  secrets-6.5.tar.bz2
cef10074390e68a5c9d139592928ad6c1ee4d7e6d869a0bade6d3d7e4d763bcc0ef15d81521caef8d2c1ec07d7e2c93f3811ecf00d89e4f4342cab4234d2e59b  py3-keypass-4.0.3-compat.patch
"