vim: move man-pages to /usr/share/man

This commit is contained in:
Fredrik Rinnestam 2015-07-25 20:51:52 +02:00
parent c66434fb42
commit 0f871db2c3
2 changed files with 20 additions and 21 deletions

View File

@ -11,19 +11,19 @@ lrwxrwxrwx root/root usr/bin/view -> vim
-rwxr-xr-x root/root usr/bin/vim
lrwxrwxrwx root/root usr/bin/vimdiff -> vim
-rwxr-xr-x root/root usr/bin/xxd
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/evim.1.gz
lrwxrwxrwx root/root usr/man/man1/ex.1.gz -> vim.1.gz
lrwxrwxrwx root/root usr/man/man1/gvim.1.gz -> vim.1.gz
lrwxrwxrwx root/root usr/man/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root usr/man/man1/rvim.1.gz -> vim.1.gz
lrwxrwxrwx root/root usr/man/man1/vi.1.gz -> vim.1.gz
lrwxrwxrwx root/root usr/man/man1/view.1.gz -> vim.1.gz
-rw-r--r-- root/root usr/man/man1/vim.1.gz
-rw-r--r-- root/root usr/man/man1/vimdiff.1.gz
-rw-r--r-- root/root usr/man/man1/xxd.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/evim.1.gz
lrwxrwxrwx root/root usr/share/man/man1/ex.1.gz -> vim.1.gz
lrwxrwxrwx root/root usr/share/man/man1/gvim.1.gz -> vim.1.gz
lrwxrwxrwx root/root usr/share/man/man1/rview.1.gz -> vim.1.gz
lrwxrwxrwx root/root usr/share/man/man1/rvim.1.gz -> vim.1.gz
lrwxrwxrwx root/root usr/share/man/man1/vi.1.gz -> vim.1.gz
lrwxrwxrwx root/root usr/share/man/man1/view.1.gz -> vim.1.gz
-rw-r--r-- root/root usr/share/man/man1/vim.1.gz
-rw-r--r-- root/root usr/share/man/man1/vimdiff.1.gz
-rw-r--r-- root/root usr/share/man/man1/xxd.1.gz
drwxr-xr-x root/root usr/share/vim/
drwxr-xr-x root/root usr/share/vim/autoload/
-rw-r--r-- root/root usr/share/vim/autoload/ada.vim

View File

@ -5,14 +5,13 @@
name=vim
version=7.4.764
release=1
release=2
source=(http://crux.nu/files/distfiles/$name-$version.tar.xz)
build () {
cd $name-$version/src
./configure --prefix=/usr \
--mandir=/usr/man \
--with-vim-name=vim \
--without-x \
--disable-gui \
@ -24,16 +23,16 @@ build () {
make -j1 VIMRTDIR= DESTDIR=$PKG install
mv $PKG/usr/share/vim/vimrc_example.vim $PKG/usr/share/vim/vimrc
rm -r $PKG/usr/{man/man?/vimtutor*,share/vim/{tutor,macros},bin/vimtutor}
rm -r $PKG/usr/{share/man/man?/vimtutor*,share/vim/{tutor,macros},bin/vimtutor}
rm $PKG/usr/share/vim/*/README.txt
ln -sf vim $PKG/usr/bin/evim
ln -sf /bin/vi $PKG/usr/bin/vi
ln -sf vim.1.gz $PKG/usr/man/man1/ex.1.gz
ln -sf vim.1.gz $PKG/usr/man/man1/vi.1.gz
ln -sf vim.1.gz $PKG/usr/man/man1/rvim.1.gz
ln -sf vim.1.gz $PKG/usr/man/man1/view.1.gz
ln -sf vim.1.gz $PKG/usr/man/man1/rview.1.gz
ln -sf vim.1.gz $PKG/usr/man/man1/gvim.1.gz
ln -sf vim.1.gz $PKG/usr/share/man/man1/ex.1.gz
ln -sf vim.1.gz $PKG/usr/share/man/man1/vi.1.gz
ln -sf vim.1.gz $PKG/usr/share/man/man1/rvim.1.gz
ln -sf vim.1.gz $PKG/usr/share/man/man1/view.1.gz
ln -sf vim.1.gz $PKG/usr/share/man/man1/rview.1.gz
ln -sf vim.1.gz $PKG/usr/share/man/man1/gvim.1.gz
./configure --prefix=/ \
--datarootdir=/usr/share \