keepassxc: clean deps, fix cross, do_install->post_

This commit is contained in:
delirein 2017-06-11 07:24:44 +02:00 committed by Toyam Cox
parent be6903c4d7
commit 0a0e18a069

View file

@ -1,13 +1,10 @@
# Template file for 'keepassxc'
pkgname=keepassxc
version=2.1.4
revision=1
#only_for_archs="x86_64 i686"
revision=2
build_style=cmake
configure_args="-DWITH_XC_HTTP=ON -DWITH_XC_YUBIKEY=ON -DWITH_XC_AUTOTYPE=ON -DWITH_TESTS=OFF"
hostmakedepends="make gcc"
makedepends="libXi-devel libXtst-devel qt5-devel qt5-x11extras-devel qt5-tools-devel libgcrypt-devel zlib-devel libyubikey-devel libykpers-devel"
depends="qt5"
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, BSD-3-clause, LGPL-2, LGPL-2.1, LGPL-3+, Boost-1.0, CC-0"
@ -15,7 +12,11 @@ homepage="https://keepassxc.org/"
distfiles="https://github.com/keepassxreboot/keepassxc/releases/download/${version}/keepassxc-${version}-src.tar.xz"
checksum=22c564fab78bd960b9af5a779c7bd59f0cc04a9988b00c6b82329059e59b0035
do_install() {
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