mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
vim: add missing pieces
This commit is contained in:
parent
fc7f34d51b
commit
c5ac1419bc
1 changed files with 6 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue