# Contributor: Leonardo Arena # Contributor: August Klein # Contributor: Orson Teodoro # Contributor: Max Rees # Maintainer: Orson Teodoro pkgname=keepassxc pkgver=2.4.3 pkgrel=1 pkgdesc="Community-driven port of the Windows application Keepass Password Safe" url="https://keepassxc.org/" arch="all" license="GPL-2.0-only OR GPL-3.0-only" depends="hicolor-icon-theme" makedepends="argon2-dev cmake libgcrypt-dev libqrencode-dev libsodium-dev libxi-dev libxtst-dev qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev qt5-qtx11extras-dev zlib-dev quazip-dev" source="https://github.com/keepassxreboot/keepassxc/releases/download/$pkgver/keepassxc-$pkgver-src.tar.xz" subpackages="$pkgname-doc" build() { cmake . \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_BUILD_TYPE=Release \ -DKEEPASSXC_BUILD_TYPE=RelWithDebInfo \ -DWITH_XC_AUTOTYPE=ON \ -DWITH_XC_NETWORKING=ON \ -DWITH_XC_BROWSER=ON \ -DWITH_XC_YUBIKEY=OFF \ -DWITH_XC_SSHAGENT=ON \ -DWITH_XC_KEESHARE=ON \ -DWITH_XC_UPDATECHECK=OFF \ -DWITH_XC_TOUCHID=OFF make } package() { make DESTDIR="$pkgdir" install install -d "$pkgdir"/usr/share/doc/$pkgname/ \ "$pkgdir"/usr/share/licenses/$pkgname/ install -t "$pkgdir"/usr/share/doc/$pkgname/ \ "$builddir"/CHANGELOG "$builddir"/README.md } check() { make test } sha512sums="893f1d18ab8051143d29c568ba87adcc42a13d28d0c3a7af04396cd91d6724f8a98d76d2e20ca15138c4642ec060d48b9e957857251f3a0df6066af08cd0765d keepassxc-2.4.3-src.tar.xz"