From 0a0e18a0696c7fd395e9b0dd113b71647c36f7f3 Mon Sep 17 00:00:00 2001 From: delirein Date: Sun, 11 Jun 2017 07:24:44 +0200 Subject: [PATCH] keepassxc: clean deps, fix cross, do_install->post_ --- srcpkgs/keepassxc/template | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/srcpkgs/keepassxc/template b/srcpkgs/keepassxc/template index 9fb49183873..81f2cc21503 100644 --- a/srcpkgs/keepassxc/template +++ b/srcpkgs/keepassxc/template @@ -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 " 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