-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
51 lines (48 loc) · 2.25 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Template file for 'keepassxc'
pkgname=keepassxc
version=2.7.8
revision=1
build_style=cmake
configure_args="-DWITH_TESTS=ON -DWITH_XC_UPDATECHECK=OFF -DWITH_XC_DOCS=ON
-DWITH_XC_AUTOTYPE=$(vopt_if autotype ON OFF)
-DWITH_XC_BROWSER=$(vopt_if browser ON OFF)
-DWITH_XC_BROWSER_PASSKEYS=$(vopt_if passkey ON OF)
-DWITH_XC_FDOSECRETS=$(vopt_if fdosecrets ON OFF)
-DWITH_XC_KEESHARE=$(vopt_if keeshare ON OFF)
-DWITH_XC_NETWORKING=$(vopt_if network ON OFF)
-DWITH_XC_SSHAGENT=$(vopt_if sshagent ON OFF)
-DWITH_XC_YUBIKEY=$(vopt_if yubikey ON OFF)"
hostmakedepends="qt5-devel ruby-asciidoctor"
makedepends="qt5-tools-devel qt5-svg-devel botan-devel libargon2-devel
qrencode-devel readline-devel pcsclite-devel
qt5-x11extras-devel
$(vopt_if autotype 'libXtst-devel libXi-devel')
$(vopt_if keeshare minizip-devel)
$(vopt_if yubikey 'libusb-devel')"
checkdepends="xvfb-run"
short_desc="KeePassXC is a cross-platform port of “Keepass Password Safe”"
maintainer="Piraty <mail@piraty.dev>"
license="GPL-3.0-or-later, BSD-3-Clause, CC0-1.0, LGPL-2.0-only, LGPL-2.1-only,
LGPL-3.0-or-later, Nokia-Qt-exception-1.1, MIT, BSL-1.0"
homepage="https://keepassxc.org/"
changelog="https://raw.githubusercontent.com/keepassxreboot/keepassxc/${version}/CHANGELOG.md"
distfiles="https://github.com/keepassxreboot/keepassxc/releases/download/${version}/keepassxc-${version}-src.tar.xz"
checksum=87d3101712b3c8656a24b908ad5b7e2529bc01717cb4156f53ba195fb81783a3
build_options="autotype browser fdosecrets keeshare network passkey sshagent yubikey"
desc_option_autotype="Include auto-type"
desc_option_browser="Include browser integration with keepassxc-browser-plugin"
desc_option_fdosecrets="Include Secret Storage Spec server side API"
desc_option_keeshare="Include sharing integration with KeeShare"
desc_option_network="Include networking code (favicon download)"
desc_option_passkey="Include browser passkey integration with keepassxc-browser-plugin"
desc_option_sshagent="Include SSH agent support"
desc_option_yubikey="Include YubiKey support"
build_options_default="autotype browser fdosecrets keeshare network passkey sshagent yubikey"
post_install() {
vlicense COPYING
vlicense LICENSE.BSD
vlicense LICENSE.MIT
}
do_check() {
xvfb-run ninja -C build test || : #XXX: TestCli::testClip() fails
}