diff options
-rw-r--r-- | core/linux/PKGBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index 11f0d837..6763cc6b 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -12,11 +12,13 @@ for ((i=0; i<${#sha256sums[@]}; i++)); do fi done -if printf '%s\n' "${makedepends[@]}" | grep -qxF graphviz; then - makedepends=(${makedepends[@]/graphviz/}) - makedepends_i686+=(graphviz) - makedepends_pentium4=("${makedepends_i686[@]}") -fi +for _rem_i486_dep in graphviz imagemagick; do + if printf '%s\n' "${makedepends[@]}" | grep -qxF "${_rem_i486_dep}"; then + makedepends=(${makedepends[@]/${_rem_i486_dep}/}) + makedepends_i686+=("${_rem_i486_dep}") + makedepends_pentium4=("${makedepends_i686[@]}") + fi +done eval "$( declare -f prepare | \ |