wok diff vim-tiny/receipt @ rev 25399
updated vim and vim-tiny (8.2.0664 -> 9.0.0133)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Aug 02 14:18:25 2022 +0100 (22 months ago) |
parents | ac8ca9758df1 |
children | 54dc13c9ffd0 |
line diff
1.1 --- a/vim-tiny/receipt Sat Jan 15 15:21:40 2022 +0000 1.2 +++ b/vim-tiny/receipt Tue Aug 02 14:18:25 2022 +0100 1.3 @@ -1,7 +1,9 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="vim-tiny" 1.7 -VERSION="8.2.0664" 1.8 +VERSION="9.0.0133" 1.9 +basever=${VERSION%.*} 1.10 +basever=${basever/./} 1.11 CATEGORY="editors" 1.12 TAGS="text-editor" 1.13 SHORT_DESC="Advanced text editor without GUI." 1.14 @@ -34,6 +36,9 @@ 1.15 sed -i 's|^.*\(#define SYS_VIMRC_FILE\).*$|\1 "/etc/vim/vimrc"|' \ 1.16 $src/src/feature.h 1.17 1.18 + # 9.0.0133 unrecognised: 1.19 +# --disable-athena-check 1.20 + 1.21 ./configure \ 1.22 --prefix=/usr \ 1.23 --cache-file=$PWD/config.cache \ 1.24 @@ -45,12 +50,11 @@ 1.25 --with-vim-name=$PACKAGE \ 1.26 --disable-acl \ 1.27 --disable-motif-check \ 1.28 - --disable-athena-check \ 1.29 --mandir=/usr/share/man \ 1.30 $CONFIGURE_ARGS && 1.31 make \ 1.32 VIMRCLOC=/etc/vim \ 1.33 - VIMRUNTIMEDIR=/usr/share/vim/vim82 \ 1.34 + VIMRUNTIMEDIR=/usr/share/vim/vim$basever\ 1.35 MAKE="make -e" && 1.36 make DESTDIR=$DESTDIR install 1.37 1.38 @@ -68,7 +72,7 @@ 1.39 cp -a $install/usr/share/vim $fs/usr/share 1.40 cp -a $install/etc/vim $fs/etc 1.41 1.42 - rm -f $fs/usr/bin/*tutor 1.43 + rm -f $fs/usr/share/vim/vim$basedir/tutor/* 1.44 } 1.45 1.46 post_install() 1.47 @@ -79,12 +83,14 @@ 1.48 echo '' 1.49 echo "**** Actual VI link : $cmd" 1.50 echo '' 1.51 - echo -n 'Do you want vim for /bin/vi (y/N) ? : '; read -t 30 anser 1.52 + echo -n 'Do you want vim for /bin/vi (y/N) ? : ' 1.53 + read -t 30 anser 1.54 if [ "$anser" = 'y' ] 1.55 then 1.56 echo '' 1.57 action 'Removing vi link to make a new one pointing on /usr/bin/vim...' 1.58 - rm "$1/bin/vi" && ln -sf /usr/bin/vim-tiny "$1/bin/vi" 1.59 + rm "$1/bin/vi" && 1.60 + ln -sf /usr/bin/vim-tiny "$1/bin/vi" 1.61 status 1.62 else 1.63 echo '' 1.64 @@ -95,6 +101,6 @@ 1.65 1.66 post_remove() 1.67 { 1.68 - # restore previous symlink 1.69 + # restore previous symbolic link 1.70 ln -sf /bin/busybox "$1/bin/vi" 1.71 }