# HG changeset patch # User Hans-G?nter Theisgen # Date 1582610648 -3600 # Node ID e9af2ddc813b16410a90d650ed6a8a72e0913584 # Parent 070fb91070b2fdc1a2a73015869987cee1146206 updated gvim (8.1 -> 8.2) diff -r 070fb91070b2 -r e9af2ddc813b gvim/receipt --- a/gvim/receipt Mon Feb 24 16:38:08 2020 +0100 +++ b/gvim/receipt Tue Feb 25 07:04:08 2020 +0100 @@ -1,19 +1,19 @@ # SliTaz package receipt. PACKAGE="gvim" -VERSION="8.1" +VERSION="8.2" CATEGORY="editors" TAGS="text-editor" SHORT_DESC="Advanced text editor, with gtk+ GUI." MAINTAINER="erjo@slitaz.org" LICENSE="other" WEB_SITE="https://www.vim.org/" -PROVIDES="xxd" SOURCE="vim" TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="ftp://ftp.vim.org/pub/vim/unix/$TARBALL" +PROVIDES="xxd" DEPENDS="gtk+ ncurses xorg-libXau xorg-libXdmcp xorg-libXt" BUILD_DEPENDS="gtk+-dev" CONFIG_FILES="/etc/vim/vimrc" @@ -44,7 +44,10 @@ --disable-motif-check \ $CONFIGURE_ARGS && - make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/vim81 MAKE="make -e" && + make \ + VIMRCLOC=/etc/vim \ + VIMRUNTIMEDIR=/usr/share/vim/vim82 \ + MAKE="make -e" && make DESTDIR=$DESTDIR install mkdir -p $DESTDIR/etc/vim @@ -54,10 +57,9 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p \ - $fs/usr/share/icons/hicolor/16x16/apps \ - $fs/usr/share/applications \ - $fs/etc + mkdir -p $fs/usr/share/icons/hicolor/16x16/apps + mkdir -p $fs/usr/share/applications + mkdir -p $fs/etc cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/vim $fs/usr/share @@ -69,17 +71,19 @@ post_install() { cmd=$(readlink "$1/bin/vi") - if [ ! "$cmd" = '/usr/bin/vim' ]; then + if [ ! "$cmd" = '/usr/bin/vim' ] + then echo "" echo "**** Actual VI link : $cmd" echo "" echo -n "Do you want vim for /bin/vi (y/N) ? : "; read -t 30 answer - if [ "$answer" = 'y' ]; then + if [ "$answer" = 'y' ] + then echo "" echo -n "Removing vi link to make a new one pointing on /usr/bin/vim..." rm "$1/bin/vi" && ln -sf /usr/bin/vim "$1/bin/vi" status - else + else echo "" echo "Leaving /bin/vi to : $cmd" fi