From 31c119761065e2c98b58480dacf534ce4deb6859 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 10 Mar 2020 08:38:33 +0100 Subject: extra/vim: do not conditionally remove depends of gvim, rather put those into depends_i686 and depends_pentium4 - otherwise `makepkg --printsrcinfo` gives wrong metadata and confuses the buildmaster --- extra/vim/PKGBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/extra/vim/PKGBUILD b/extra/vim/PKGBUILD index d98d0334..7d8d7da9 100644 --- a/extra/vim/PKGBUILD +++ b/extra/vim/PKGBUILD @@ -26,6 +26,13 @@ eval "$( declare -f package_gvim \ | sed ' - /cd gvim/ i [ "${CARCH}" != i486 ] || { unset depends; return 0; } + /^\s*\S*depends=/ { + h + s/=/_i686=/ + p + g + s/=/_pentium4=/ + } + /cd gvim/ i [ "${CARCH}" != i486 ] || return 0 ' )" -- cgit v1.2.3-70-g09d2