From c5ac1419bc742caa988292cfc8292d0af0ddb38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 23 Feb 2023 23:42:01 +0700 Subject: [PATCH] vim: add missing pieces --- srcpkgs/vim/template | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/srcpkgs/vim/template b/srcpkgs/vim/template index 0c919f806a1..e2f7207a51a 100644 --- a/srcpkgs/vim/template +++ b/srcpkgs/vim/template @@ -39,9 +39,9 @@ pre_configure() { local f # https://github.com/vim/vim/issues/11977 cp sh.vim vim-${version}/runtime/syntax/sh.vim - for f in ${_subdirs}; do + for f in vim-normal ${_subdirs}; do rm -rf ${f} - cp -a vim-${version} ${_subdirs} + cp -r vim-${version} ${f} done } @@ -64,7 +64,7 @@ do_configure() { fi # Normal version. - cd $wrksrc + cd $wrksrc/vim-normal ./configure ${configure_args} ${args} ${nohuge_args} --disable-xim --enable-gui=no --with-x=no # X11 version. @@ -99,10 +99,7 @@ do_configure() { } do_build() { - cd $wrksrc - make ${makejobs} - - for f in ${_subdirs}; do + for f in vim-normal ${_subdirs}; do cd $wrksrc/$f make ${makejobs} done @@ -110,11 +107,12 @@ do_build() { } do_check() { - cd $wrksrc + cd $wrksrc/vim-normal TERM=xterm make test } do_install() { + cd $wrksrc/vim-normal make DESTDIR=$DESTDIR install vlicense runtime/doc/uganda.txt LICENSE