index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-03-10 08:46:24 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-03-10 08:46:24 +0100 |
commit | 01da0d7b5ea4ed8a4ac6fae9398c1b257c249648 (patch) | |
tree | d4c3adaae734949dc6c2b500dfa52168d9f8b3d2 /core | |
parent | 31c119761065e2c98b58480dacf534ce4deb6859 (diff) |
-rw-r--r-- | core/gpgme/PKGBUILD | 32 |
diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD index d48edca2..8d29e2a1 100644 --- a/core/gpgme/PKGBUILD +++ b/core/gpgme/PKGBUILD @@ -19,20 +19,24 @@ eval "$( makedepends=(${makedepends[@]//qt5-base/}) makedepends_i686+=(qt5-base) -# i486-specific -if [ "${CARCH}" = "i486" ]; then - # no Qt frontend subpackage -> set it to empty +# i486-specific: no Qt frontend subpackage - package_qgpgme() { - unset depends - } - - eval "$( - declare -f package_gpgme | \ - sed ' - /rm.*qgpgme/d - ' - )" -fi +eval "$( + declare -f package_qgpgme | \ + sed ' + /^\s*\S*depends=/ { + h + s/=/_i686=/ + p + g + s/=/_pentium4=/ + } + 2 a [ "${CARCH}" != "i486" ] || return 0 + ' + declare -f package_gpgme | \ + sed ' + /rm.*qgpgme/ s/^/[ "${CARCH}" = "i486" ] || / + ' +)" makedepends_pentium4=("${makedepends_i686[@]}") |