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
10 source=(ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
11 http://crux.nu/files/distfiles/vim-7.3.001-050.xz
12 http://crux.nu/files/distfiles/vim-7.3.051-102.xz
13 http://crux.nu/files/distfiles/vim-7.3.103-154.xz
18 unxz -c $SRC/vim-7.3.*.xz | patch -p0 -d $SRC/vim73
19 patch -p2 -i $SRC/vim-7.3-cross.diff
21 cat > auto/config.cache << EOF
22 vim_cv_getcwd_broken=no
23 vim_cv_memmove_handles_overlap=yes
24 vim_cv_stat_ignores_slash=no
27 vim_cv_toupper_broken=no
28 vim_cv_tty_group=world
30 vim_cv_toupper_broken=no
33 ./configure --build=$CHOST \
47 --cache-file=$SRC/src/auto/config.cache
50 make VIMRTDIR= DESTDIR=$PKG installvimbin installruntime installlinks
52 mv $PKG/usr/share/vim/vimrc_example.vim $PKG/usr/share/vim/vimrc
53 rm -r $PKG/usr/{man/man?/vimtutor*,share/vim/{tutor,macros}}
54 rm $PKG/usr/share/vim/*/README.txt
55 ln -sf vim $PKG/usr/bin/evim
56 ln -sf /bin/vi $PKG/usr/bin/vi
57 ln -sf vim.1.gz $PKG/usr/man/man1/ex.1.gz
58 ln -sf vim.1.gz $PKG/usr/man/man1/vi.1.gz
59 ln -sf vim.1.gz $PKG/usr/man/man1/rvim.1.gz
60 ln -sf vim.1.gz $PKG/usr/man/man1/view.1.gz
61 ln -sf vim.1.gz $PKG/usr/man/man1/rview.1.gz
62 ln -sf vim.1.gz $PKG/usr/man/man1/gvim.1.gz
64 ./configure --build=$CHOST \
77 make VIMRTDIR= DESTDIR=$PKG installvimbin