mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +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
|
local f
|
||||||
# https://github.com/vim/vim/issues/11977
|
# https://github.com/vim/vim/issues/11977
|
||||||
cp sh.vim vim-${version}/runtime/syntax/sh.vim
|
cp sh.vim vim-${version}/runtime/syntax/sh.vim
|
||||||
for f in ${_subdirs}; do
|
for f in vim-normal ${_subdirs}; do
|
||||||
rm -rf ${f}
|
rm -rf ${f}
|
||||||
cp -a vim-${version} ${_subdirs}
|
cp -r vim-${version} ${f}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ do_configure() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Normal version.
|
# Normal version.
|
||||||
cd $wrksrc
|
cd $wrksrc/vim-normal
|
||||||
./configure ${configure_args} ${args} ${nohuge_args} --disable-xim --enable-gui=no --with-x=no
|
./configure ${configure_args} ${args} ${nohuge_args} --disable-xim --enable-gui=no --with-x=no
|
||||||
|
|
||||||
# X11 version.
|
# X11 version.
|
||||||
|
@ -99,10 +99,7 @@ do_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd $wrksrc
|
for f in vim-normal ${_subdirs}; do
|
||||||
make ${makejobs}
|
|
||||||
|
|
||||||
for f in ${_subdirs}; do
|
|
||||||
cd $wrksrc/$f
|
cd $wrksrc/$f
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
done
|
done
|
||||||
|
@ -110,11 +107,12 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
cd $wrksrc
|
cd $wrksrc/vim-normal
|
||||||
TERM=xterm make test
|
TERM=xterm make test
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
cd $wrksrc/vim-normal
|
||||||
make DESTDIR=$DESTDIR install
|
make DESTDIR=$DESTDIR install
|
||||||
vlicense runtime/doc/uganda.txt LICENSE
|
vlicense runtime/doc/uganda.txt LICENSE
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue