From dd0f5df674bde355db844efa8ca954e9450f4181 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 19 Nov 2019 13:51:32 +0100 Subject: core/gpgme/PKGBUILD: simplify trashing of package_qgpgme() on i486 --- core/gpgme/PKGBUILD | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'core/gpgme/PKGBUILD') diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD index 99c8b231..d7f790eb 100644 --- a/core/gpgme/PKGBUILD +++ b/core/gpgme/PKGBUILD @@ -17,14 +17,9 @@ makedepends_i686+=(qt5-base) if [ "${CARCH}" = "i486" ]; then # no Qt frontend subpackage -> set it to empty - eval "$( - declare -f package_qgpgme | \ - sed ' - /cd.*/d - /make.*/d - /depends/s/qt5-base// - ' - )" + package_qgpgme() { + unset depends + } eval "$( declare -f package_gpgme | \ -- cgit v1.2.3-70-g09d2