1 # Description: Highly configurable text editor
2 # URL: http://www.vim.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: ncurses acl
10 source=(http://crux.nu/files/distfiles/$name-$version.tar.xz)
15 cat > auto/config.cache << EOF
16 vim_cv_getcwd_broken=no
17 vim_cv_memmove_handles_overlap=yes
18 vim_cv_stat_ignores_slash=no
21 vim_cv_toupper_broken=no
22 vim_cv_tty_group=world
24 vim_cv_toupper_broken=no
27 ./configure --build=$CHOST \
37 --cache-file=$SRC/src/auto/config.cache
40 make -j1 VIMRTDIR= DESTDIR=$PKG install
42 mv $PKG/usr/share/vim/vimrc_example.vim $PKG/usr/share/vim/vimrc
43 rm -r $PKG/usr/{share/man/man?/vimtutor*,share/vim/{tutor,macros}}
44 rm $PKG/usr/share/vim/*/README.txt
45 ln -sf vim $PKG/usr/bin/evim
46 ln -sf /bin/vi $PKG/usr/bin/vi
47 ln -sf vim.1.gz $PKG/usr/share/man/man1/ex.1.gz
48 ln -sf vim.1.gz $PKG/usr/share/man/man1/vi.1.gz
49 ln -sf vim.1.gz $PKG/usr/share/man/man1/rvim.1.gz
50 ln -sf vim.1.gz $PKG/usr/share/man/man1/view.1.gz
51 ln -sf vim.1.gz $PKG/usr/share/man/man1/rview.1.gz
52 ln -sf vim.1.gz $PKG/usr/share/man/man1/gvim.1.gz
54 ./configure --build=$CHOST \
57 --datarootdir=/usr/share \
68 make VIMRTDIR= DESTDIR=$PKG installvimbin