wok diff gvim/receipt @ rev 22192
updated xorg-imake (1.0.3 -> 1.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 09:43:24 2019 +0100 (2019-11-11) |
parents | 02c70d036ea0 |
children | da0a38e4800e |
line diff
1.1 --- a/gvim/receipt Tue Feb 26 09:14:07 2019 +0100 1.2 +++ b/gvim/receipt Mon Nov 11 09:43:24 2019 +0100 1.3 @@ -1,20 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gvim" 1.7 -VERSION="7.3" 1.8 +VERSION="8.1" 1.9 CATEGORY="editors" 1.10 -SHORT_DESC="Advanced text editor, with gtk+ GUI" 1.11 +TAGS="text-editor" 1.12 +SHORT_DESC="Advanced text editor, with gtk+ GUI." 1.13 MAINTAINER="erjo@slitaz.org" 1.14 LICENSE="other" 1.15 +WEB_SITE="https://www.vim.org/" 1.16 + 1.17 SOURCE="vim" 1.18 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.19 -WEB_SITE="http://www.vim.org/" 1.20 WGET_URL="ftp://ftp.vim.org/pub/vim/unix/$TARBALL" 1.21 + 1.22 +DEPENDS="gtk+ ncurses xorg-libXau xorg-libXdmcp xorg-libXt" 1.23 +BUILD_DEPENDS="gtk+-dev" 1.24 CONFIG_FILES="/etc/vim/vimrc" 1.25 -TAGS="text-editor" 1.26 - 1.27 -DEPENDS="ncurses gtk+ xorg-libXt xorg-libXau xorg-libXdmcp" 1.28 -BUILD_DEPENDS="gtk+-dev" 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 @@ -23,39 +24,45 @@ 1.33 1.34 # define the place for the global vimrc file (set to /etc/vim/vimrc) 1.35 # (patch from Arch Linux PKGBUILD) 1.36 - sed -i 's|^.*\(#define SYS_VIMRC_FILE\).*$|\1 "/etc/vim/vimrc"|' $src/src/feature.h 1.37 + sed -i 's|^.*\(#define SYS_VIMRC_FILE\).*$|\1 "/etc/vim/vimrc"|' \ 1.38 + $src/src/feature.h 1.39 # and global gvimrc file (set to /etc/vim/gvimrc) 1.40 - sed -i 's|^.*\(#define SYS_GVIMRC_FILE\).*$|\1 "/etc/vim/gvimrc"|' $src/src/feature.h 1.41 + sed -i 's|^.*\(#define SYS_GVIMRC_FILE\).*$|\1 "/etc/vim/gvimrc"|' \ 1.42 + $src/src/feature.h 1.43 1.44 - ./configure \ 1.45 - --prefix=/usr \ 1.46 - --cache-file=$PWD/config.cache \ 1.47 - --infodir=/usr/share/info \ 1.48 - --with-features=normal \ 1.49 - --with-x=yes \ 1.50 - --enable-gui=gtk2 \ 1.51 - --enable-multibyte \ 1.52 - --disable-motif-check \ 1.53 - --disable-athena-check \ 1.54 - --mandir=/usr/share/man \ 1.55 + ./configure \ 1.56 + --prefix=/usr \ 1.57 + --cache-file=$PWD/config.cache \ 1.58 + --infodir=/usr/share/info \ 1.59 + --mandir=/usr/share/man \ 1.60 + --with-features=normal \ 1.61 + --with-x=yes \ 1.62 + --enable-gui=gtk2 \ 1.63 + --enable-multibyte \ 1.64 + --disable-athena-check \ 1.65 + --disable-motif-check \ 1.66 $CONFIGURE_ARGS && 1.67 1.68 - make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/vim73 MAKE="make -e" && 1.69 + make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/vim81 MAKE="make -e" && 1.70 make DESTDIR=$DESTDIR install 1.71 + 1.72 mkdir -p $DESTDIR/etc/vim 1.73 - cp -a $src/runtime/vimrc_example.vim $DESTDIR/etc/vim/vimrc 1.74 + cp -a $src/runtime/vimrc_example.vim $DESTDIR/etc/vim/vimrc 1.75 } 1.76 1.77 # Rules to gen a SliTaz package suitable for Tazpkg. 1.78 genpkg_rules() 1.79 { 1.80 - mkdir -p $fs/usr/share/icons/hicolor/16x16/apps $fs/usr/share/applications $fs/etc 1.81 + mkdir -p \ 1.82 + $fs/usr/share/icons/hicolor/16x16/apps \ 1.83 + $fs/usr/share/applications \ 1.84 + $fs/etc 1.85 1.86 - cp -a $install/usr/bin $fs/usr 1.87 - cp -a $install/usr/share/vim $fs/usr/share 1.88 - cp -a $src/runtime/vim16x16.png $fs/usr/share/icons/hicolor/16x16/apps/gvim.png 1.89 - cp -a stuff/gvim.desktop $fs/usr/share/applications 1.90 - cp -a $install/etc/vim $fs/etc 1.91 + cp -a $install/usr/bin $fs/usr 1.92 + cp -a $install/usr/share/vim $fs/usr/share 1.93 + cp -a $src/runtime/vim16x16.png $fs/usr/share/icons/hicolor/16x16/apps/gvim.png 1.94 + cp -a stuff/gvim.desktop $fs/usr/share/applications 1.95 + cp -a $install/etc/vim $fs/etc 1.96 } 1.97 1.98 post_install()