aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-passwordsafe/APKBUILD
blob: d948168b198af32c80e03fbe1d454dccffdc034c (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-passwordsafe
pkgver=3.32.0
pkgrel=0
pkgdesc="A password manager for GNOME"
url="https://gitlab.gnome.org/World/PasswordSafe"
arch="noarch !s390x" # Limited by py3-keepass
license="GPL-3.0-only"
depends="python3 py3-keepass libhandy py3-libpwquality py3-gobject3"
makedepends="meson gtk+3.0-dev libhandy-dev libpwquality-dev gobject-introspection-dev"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/PasswordSafe/-/archive/$pkgver/PasswordSafe-$pkgver.tar.gz
	dont-require-py3-gettext-support.patch"
builddir="$srcdir/PasswordSafe-$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="ad568cf1d635b7a1b00948a722dfbcba36ab2655a6b772962b4c2fb08d75e2a60787180017edd3305a7f4e3043cd9216cc5829a9889caf859cdc3d47f16da317  PasswordSafe-3.32.0.tar.gz
431e37942e5af402427f6e16b1155465758ba8b2e7ef3799523a0925de451e6f4cb5ec27d5be05c496cd123dd3eb4e4fb874b82d68a7b9914bab6e99855f1565  dont-require-py3-gettext-support.patch"