summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-19 13:51:32 +0100
committerErich Eckner <git@eckner.net>2019-11-19 13:51:32 +0100
commitdd0f5df674bde355db844efa8ca954e9450f4181 (patch)
tree223f108efd120479ca5f8080fc8d60c43080d76f /core
parent02fb3bbf216210adf0d777952da4610c267aee2a (diff)
downloadpackages-dd0f5df674bde355db844efa8ca954e9450f4181.tar.xz
core/gpgme/PKGBUILD: simplify trashing of package_qgpgme() on i486
Diffstat (limited to 'core')
-rw-r--r--core/gpgme/PKGBUILD11
1 files changed, 3 insertions, 8 deletions
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 | \