summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-10 08:38:33 +0100
committerErich Eckner <git@eckner.net>2020-03-10 08:38:33 +0100
commit31c119761065e2c98b58480dacf534ce4deb6859 (patch)
treeb5a75d38faee35599572e5d23768a05751df3baf
parent02f690b9b815428dbc9d840a8ce421ddaac90319 (diff)
downloadpackages-31c119761065e2c98b58480dacf534ce4deb6859.tar.xz
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
-rw-r--r--extra/vim/PKGBUILD9
1 files changed, 8 insertions, 1 deletions
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
'
)"