2017-05-30 14:07:08 +00:00
|
|
|
# Template file for 'keepassxc'
|
|
|
|
pkgname=keepassxc
|
2018-03-12 21:51:49 +00:00
|
|
|
version=2.3.1
|
2018-03-20 17:54:27 +00:00
|
|
|
revision=2
|
2017-05-30 14:07:08 +00:00
|
|
|
build_style=cmake
|
2018-03-12 21:51:49 +00:00
|
|
|
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
|
2018-03-20 17:54:27 +00:00
|
|
|
$(vopt_if autotype 'qt5-x11extras-devel libXtst-devel libXi-devel')
|
2018-03-12 21:51:49 +00:00
|
|
|
$(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/"
|
2018-03-12 21:51:49 +00:00
|
|
|
distfiles="https://github.com/keepassxreboot/keepassxc/releases/download/${version}/keepassxc-${version}-src.tar.xz"
|
|
|
|
checksum=ce7d8251d4d5b35f602ff521764910964da6d8a67397399855a6e8c5ff5db9bd
|
2017-05-30 14:07:08 +00:00
|
|
|
|
2017-06-11 05:24:44 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2017-12-14 01:50:08 +00:00
|
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools"
|
2017-06-11 05:24:44 +00:00
|
|
|
fi
|
|
|
|
|
2018-03-12 21:51:49 +00:00
|
|
|
build_options="autotype browser network sshagent yubikey"
|
|
|
|
desc_option_autotype="Enable auto-type"
|
|
|
|
desc_option_browser="Enable browser integration with keepassxc-browser"
|
2018-03-20 17:54:27 +00:00
|
|
|
desc_option_network="Enable networking support (favicon download)"
|
2018-03-12 21:51:49 +00:00
|
|
|
desc_option_sshagent="Enable SSH agent support"
|
|
|
|
desc_option_yubikey="Enable YubiKey HMAC-SHA1 authentication support"
|
2018-03-20 17:54:27 +00:00
|
|
|
build_options_default="autotype sshagent yubikey network"
|
2018-03-12 21:51:49 +00:00
|
|
|
|
2017-06-11 05:24:44 +00:00
|
|
|
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
|
|
|
|
}
|