Subject: [PATCH] testing/keepassxc: new aport

From: David Lang <[email-masked]>
Date: Wed, 30 Oct 2019 18:53:57 +0100

https://keepassxc.org/
KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
---
 testing/keepassxc/APKBUILD | 67 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
 create mode 100644 testing/keepassxc/APKBUILD

diff --git a/testing/keepassxc/APKBUILD b/testing/keepassxc/APKBUILD
new file mode 100644
index 0000000000..3aec2dfe06
--- /dev/null
+++ b/testing/keepassxc/APKBUILD
@@ -0,0 +1,67 @@
+# Contributor: David Lang <[email-masked]>
+# Maintainer: David Lang <[email-masked]>
+pkgname="keepassxc"
+pkgver="2.5.0"
+pkgrel=0
+pkgdesc="KeePassXC is a cross-platform community-driven port of the Windows application Keepass Password Safe."
+url="https://keepassxc.org/"
+arch="all"
+license="GPL-3.0-only"
+depends="yubico-c
+	ykpers
+	libgcrypt
+	qt5-qtbase
+	libqrencode
+	qt5-qtsvg
+	qt5-qttools
+	argon2
+	libsodium
+	"
+makedepends="cmake
+	automake
+	yubico-c-dev
+	ykpers-dev
+	libgcrypt-dev
+	qt5-qtbase-dev
+	libqrencode
+	libqrencode-dev
+	qt5-qtsvg-dev
+	qt5-qttools-dev
+	argon2-dev
+	libsodium-dev
+	"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/keepassxreboot/keepassxc/archive/$pkgver.tar.gz"
+
+build() {
+	cmake \
+	-DCMAKE_INSTALL_PREFIX=/usr \
+	-DCMAKE_VERBOSE_MAKEFILE=OFF \
+	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+	-DWITH_GUI_TESTS=OFF \
+	-DWITH_TESTS=ON \
+	-DWITH_XC_YUBIKEY=ON \
+	-DWITH_XC_BROWSER=ON  \
+	-DWITH_XC_AUTOTYPE=OFF \
+	-DWITH_XC_NETWORKING=ON \
+	-DWITH_XC_SSHAGENT=ON \
+	-DWITH_XC_FDOSECRETS=ON \
+	-DWITH_XC_KEESHARE=ON \
+	-DWITH_XC_KEESHARE_SECURE=ON \
+	-DWITH_XC_UPDATECHECK=OFF \
+	-DWITH_ASAN=OFF \
+	-DKEEPASSXC_BUILD_TYPE=Release \
+	-DKEEPASSXC_DIST_TYPE=Other \
+	.
+	make
+}
+
+check() {
+	make test
+}
+
+package() {
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="874cc3dd9245a37f6aca4500cad737b26d0b6dae40204bb63df0919cc29d66776be8f459cbe9f4975586775d9e28cd0e1d0402cc9d06eaaf5e4ea641a226b1eb  keepassxc-2.5.0.tar.gz"
-- 
2.23.0