void-packages/srcpkgs/keepassxc/template

29 lines
1.0 KiB
Bash

# Template file for 'keepassxc'
pkgname=keepassxc
version=2.2.1
revision=1
build_style=cmake
configure_args="-DWITH_XC_HTTP=ON -DWITH_XC_YUBIKEY=ON -DWITH_XC_AUTOTYPE=ON -DWITH_TESTS=OFF"
makedepends="libXtst-devel libgcrypt-devel libykpers-devel libyubikey-devel qt5-tools-devel qt5-x11extras-devel"
short_desc="KeePassXC is a cross-platform port of “Keepass Password Safe”"
maintainer="ibrokemypie <ibrokemypie@bastardi.net>"
license="GPL-3, GPL-2, BSD-3-clause, LGPL-2, LGPL-2.1, LGPL-3+, Boost-1.0, CC-0"
homepage="https://keepassxc.org/"
distfiles="https://github.com/keepassxreboot/keepassxc/archive/${version}.tar.gz"
checksum=184663e8b08e081dedf4c9dbdd68bf86ed0f5e32388b4781b7afcf89ef5c8e4d
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel qt5-qmake qt5-tools"
fi
post_install() {
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
}