void-packages/srcpkgs/keepassxc/template

46 lines
1.7 KiB
Bash
Raw Normal View History

2017-05-30 14:07:08 +00:00
# Template file for 'keepassxc'
pkgname=keepassxc
version=2.3.1
revision=2
2017-05-30 14:07:08 +00:00
build_style=cmake
configure_args="-DWITH_TESTS=OFF
-DWITH_XC_AUTOTYPE=$(vopt_if autotype ON OFF)
-DWITH_XC_NETWORKING=$(vopt_if network ON OFF)
-DWITH_XC_YUBIKEY=$(vopt_if yubikey ON OFF)
-DWITH_XC_BROWSER=$(vopt_if browser ON OFF)
-DWITH_XC_SSHAGENT=$(vopt_if sshagent ON OFF)"
makedepends="qt5-tools-devel libgcrypt-devel libargon2-devel
$(vopt_if autotype 'qt5-x11extras-devel libXtst-devel libXi-devel')
$(vopt_if browser libsodium-devel)
$(vopt_if network libcurl-devel)
$(vopt_if yubikey 'libykpers-devel libyubikey-devel')"
2017-05-30 14:07:08 +00:00
short_desc="KeePassXC is a cross-platform port of “Keepass Password Safe”"
maintainer="ibrokemypie <ibrokemypie@bastardi.net>"
2017-06-28 23:31:12 +00:00
license="GPL-3, GPL-2, BSD-3-clause, LGPL-2, LGPL-2.1, LGPL-3+, Boost-1.0, CC-0"
2017-05-30 14:07:08 +00:00
homepage="https://keepassxc.org/"
distfiles="https://github.com/keepassxreboot/keepassxc/releases/download/${version}/keepassxc-${version}-src.tar.xz"
checksum=ce7d8251d4d5b35f602ff521764910964da6d8a67397399855a6e8c5ff5db9bd
2017-05-30 14:07:08 +00:00
if [ "$CROSS_BUILD" ]; then
2017-12-14 01:50:08 +00:00
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools"
fi
build_options="autotype browser network sshagent yubikey"
desc_option_autotype="Enable auto-type"
desc_option_browser="Enable browser integration with keepassxc-browser"
desc_option_network="Enable networking support (favicon download)"
desc_option_sshagent="Enable SSH agent support"
desc_option_yubikey="Enable YubiKey HMAC-SHA1 authentication support"
build_options_default="autotype sshagent yubikey network"
post_install() {
2017-05-30 14:07:08 +00:00
vlicense COPYING
vlicense LICENSE.BOOST-1.0
vlicense LICENSE.BSD
vlicense LICENSE.CC0
vlicense LICENSE.NOKIA-LGPL-EXCEPTION
vlicense LICENSE.LGPL-3
vlicense LICENSE.LGPL-2.1
vlicense LICENSE.GPL-2
}