wok-current rev 25518

updated gvim 8.2 -> 9.0.0133 again
author Hans-G?nter Theisgen
date Thu Feb 23 11:06:30 2023 +0100 (22 months ago)
parents 5cb11e361a0a
children 2ce61368004b
files gvim/receipt
line diff
     1.1 --- a/gvim/receipt	Thu Feb 23 10:53:50 2023 +0100
     1.2 +++ b/gvim/receipt	Thu Feb 23 11:06:30 2023 +0100
     1.3 @@ -40,6 +40,9 @@
     1.4  	sed -i 's|^.*\(#define SYS_GVIMRC_FILE\).*$|\1 "/etc/vim/gvimrc"|' \
     1.5  		$src/src/feature.h
     1.6  
     1.7 +	# 9.0.0133 unrecognised:
     1.8 +#		--disable-athena-check
     1.9 +
    1.10  	./configure				\
    1.11  		--prefix=/usr			\
    1.12  		--cache-file=$PWD/config.cache	\
    1.13 @@ -49,7 +52,6 @@
    1.14  		--with-x=yes			\
    1.15  		--enable-gui=gtk2		\
    1.16  		--enable-multibyte		\
    1.17 -		--disable-athena-check		\
    1.18  		--disable-motif-check		\
    1.19  		$CONFIGURE_ARGS &&
    1.20  
    1.21 @@ -57,10 +59,17 @@
    1.22  		VIMRCLOC=/etc/vim			\
    1.23  		VIMRUNTIMEDIR=/usr/share/vim/vim$basever\
    1.24  		MAKE="make -e" &&
    1.25 -	make DESTDIR=$DESTDIR install
    1.26 +	make	install				\
    1.27 +		DESTDIR=$DESTDIR
    1.28  
    1.29  	mkdir -p $DESTDIR/etc/vim
    1.30  	cp -a $src/runtime/vimrc_example.vim	$DESTDIR/etc/vim/vimrc
    1.31 +
    1.32 +	for i in GenericName Keywords
    1.33 +	  do
    1.34 +		l="$(grep $i= $DESTDIR/usr/share/applications/vim.desktop)"
    1.35 +		sed -i "/$i=/d;s|$i\[de].*|$l\n&|" $DESTDIR/usr/share/applications/vim.desktop
    1.36 +	  done
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.