void-packages/srcpkgs/keepassxc/template

29 lines
1016 B
Bash

# Template file for 'keepassxc'
pkgname=keepassxc
version=2.2.4
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=e884439ed3ad461e426a25f0492f5fa78ab8ba06fb718977b3867d8f098ccd0a
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools 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
}