wok-next diff vim/receipt @ rev 20855
svgcleaner: up (0.9.5); add oxipng
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 26 15:41:27 2018 +0300 (2018-06-26) |
parents | f1752c8b2a2a |
children | e7a485521d6a |
line diff
1.1 --- a/vim/receipt Fri Dec 30 02:04:27 2016 +0200 1.2 +++ b/vim/receipt Tue Jun 26 15:41:27 2018 +0300 1.3 @@ -1,19 +1,16 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="vim" 1.8 -VERSION="7.4" 1.9 +VERSION="8.0.069" 1.10 CATEGORY="editors" 1.11 SHORT_DESC="Advanced text editor" 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="other" 1.14 WEB_SITE="http://www.vim.org/" 1.15 -CONFIG_FILES="/etc/vim/vimrc" 1.16 -TAGS="text-editor" 1.17 1.18 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.19 WGET_URL="ftp://ftp.vim.org/pub/vim/unix/$TARBALL" 1.20 1.21 -DEPENDS="ncurses acl attr diffutils" 1.22 # python may be removed after "ncursesw problem" solved 1.23 BUILD_DEPENDS="python ncurses-dev acl-dev diffutils gettext" 1.24 SIBLINGS="vim-tiny" 1.25 @@ -31,7 +28,7 @@ 1.26 make && make install 1.27 1.28 mkdir -p $install/etc/vim 1.29 - cp -a $src/runtime/vimrc_example.vim $install/etc/vim/vimrc 1.30 + cp $src/runtime/vimrc_example.vim $install/etc/vim/vimrc 1.31 1.32 mkdir -p $install/usr/share/doc 1.33 ln -s ../vim/vim*/doc $install/usr/share/doc/vim-$VERSION 1.34 @@ -40,10 +37,13 @@ 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 - cook_copy_folders etc bin vim 1.39 + copy @std 1.40 + CONFIG_FILES="/etc/vim/vimrc" 1.41 + TAGS="text-editor" 1.42 + DEPENDS="ncurses acl attr diffutils" 1.43 } 1.44 1.45 -post_install() 1.46 +post_install_vim() 1.47 { 1.48 cmd=$(readlink "$1/bin/vi") 1.49 if [ "$cmd" != '/usr/bin/vim' ]; then 1.50 @@ -62,8 +62,3 @@ 1.51 fi 1.52 fi 1.53 } 1.54 - 1.55 -post_remove() 1.56 -{ 1.57 - ln -sf /bin/busybox "$1/bin/vi" 1.58 -}