wok rev 25517

updated gvim 8.2 -> 9.0.0133
author Hans-G?nter Theisgen
date Thu Feb 23 10:53:50 2023 +0100 (21 months ago)
parents 7a861ec55497
children adcde2ac1f32
files gvim/receipt
line diff
     1.1 --- a/gvim/receipt	Sun Feb 19 11:36:17 2023 +0000
     1.2 +++ b/gvim/receipt	Thu Feb 23 10:53:50 2023 +0100
     1.3 @@ -1,7 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gvim"
     1.7 -VERSION="8.2"
     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, with gtk+ GUI."
    1.14 @@ -10,8 +12,8 @@
    1.15  WEB_SITE="https://www.vim.org/"
    1.16  
    1.17  SOURCE="vim"
    1.18 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.19 -WGET_URL="https://ftp.nluug.nl/pub/vim/unix/$TARBALL"
    1.20 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.21 +WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/v$VERSION.tar.gz"
    1.22  
    1.23  PROVIDES="xxd"
    1.24  DEPENDS="gtk+ ncurses xorg-libXau xorg-libXdmcp xorg-libXt"
    1.25 @@ -53,7 +55,7 @@
    1.26  
    1.27  	make						\
    1.28  		VIMRCLOC=/etc/vim			\
    1.29 -		VIMRUNTIMEDIR=/usr/share/vim/vim82	\
    1.30 +		VIMRUNTIMEDIR=/usr/share/vim/vim$basever\
    1.31  		MAKE="make -e" &&
    1.32  	make DESTDIR=$DESTDIR install
    1.33  
    1.34 @@ -81,14 +83,16 @@
    1.35  	if [ ! "$cmd" = '/usr/bin/vim' ]
    1.36  	  then
    1.37  		echo ""
    1.38 -		echo "**** Actual VI link : $cmd"
    1.39 +		echo "**** Actual vi link : $cmd"
    1.40  		echo ""
    1.41 -		echo -n "Do you want vim  for /bin/vi (y/N) ? : "; read -t 30 answer
    1.42 +		echo -n "Do you want vim  for /bin/vi (y/N) ? : "
    1.43 +		read -t 30 answer
    1.44  		if [ "$answer" = 'y' ]
    1.45  		  then
    1.46  			echo ""
    1.47  			echo -n "Removing vi link to make a new one pointing on /usr/bin/vim..."
    1.48 -			rm "$1/bin/vi" && ln -sf /usr/bin/vim "$1/bin/vi"
    1.49 +			rm "$1/bin/vi" &&
    1.50 +			ln -sf /usr/bin/vim "$1/bin/vi"
    1.51  			status
    1.52  		  else
    1.53  			echo ""
    1.54 @@ -99,6 +103,6 @@
    1.55  
    1.56  post_remove()
    1.57  {
    1.58 -	# restore previous symlink
    1.59 +	# restore previous symbolic link
    1.60  	ln -sf busybox "$1/bin/vi"
    1.61  }