aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-passwordsafe/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-passwordsafe/APKBUILD')
-rw-r--r--community/gnome-passwordsafe/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/gnome-passwordsafe/APKBUILD b/community/gnome-passwordsafe/APKBUILD
new file mode 100644
index 0000000000..d948168b19
--- /dev/null
+++ b/community/gnome-passwordsafe/APKBUILD
@@ -0,0 +1,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"