From b5b60ca97343dba5f8aa542ff33a36e6c1dd8f12 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 19 Nov 2019 13:46:38 +0100 Subject: core/gpgme: another try --- core/gpgme/PKGBUILD | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'core/gpgme/PKGBUILD') diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD index 82d7ebcb..99c8b231 100644 --- a/core/gpgme/PKGBUILD +++ b/core/gpgme/PKGBUILD @@ -15,13 +15,16 @@ makedepends_i686+=(qt5-base) # i486-specific if [ "${CARCH}" = "i486" ]; then - # no Qt frontend subpackage - pkgname=( - $( - printf '%s\n' "${pkgname[@]}" | \ - grep -vFx 'qgpgme' - ) - ) + # no Qt frontend subpackage -> set it to empty + + eval "$( + declare -f package_qgpgme | \ + sed ' + /cd.*/d + /make.*/d + /depends/s/qt5-base// + ' + )" eval "$( declare -f package_gpgme | \ -- cgit v1.2.3-70-g09d2