Date: Friday, July 4, 2014 @ 17:39:46 Author: fyan Revision: 114907 archrelease: copy trunk to community-any
Added: vim-latexsuite/repos/community-any/PKGBUILD (from rev 114906, vim-latexsuite/trunk/PKGBUILD) vim-latexsuite/repos/community-any/vim-latexsuite.install (from rev 114906, vim-latexsuite/trunk/vim-latexsuite.install) Deleted: vim-latexsuite/repos/community-any/PKGBUILD vim-latexsuite/repos/community-any/vim-latexsuite.install ------------------------+ PKGBUILD | 62 +++++++++++++++++------------------ vim-latexsuite.install | 82 +++++++++++++++++++++++------------------------ 2 files changed, 72 insertions(+), 72 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-07-04 15:39:26 UTC (rev 114906) +++ PKGBUILD 2014-07-04 15:39:46 UTC (rev 114907) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> -# Contributor: Army - -pkgname=vim-latexsuite -pkgver=20130126 -pkgrel=1 -pkgdesc="Tools to view, edit, and compile LaTeX documents within Vim." -arch=('any') -url="http://vim-latex.sourceforge.net" -license=('custom:vim') -depends=('vim') -optdepends=('python2' 'texlive-bin') -groups=('vim-plugins') -source=("ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('3c6a49e8dd3b73bae73de7a4e839a125') -install=$pkgname.install - -build() { - - cd "${srcdir}/$pkgname-$pkgver" - - find . -type f -name *.py -exec sed -i 's:/usr/bin/python:&2:g' {} + - -} - -package() { - cd "${srcdir}/$pkgname-$pkgver" - - make DESTDIR="${pkgdir}" PREFIX='/usr' VIMDIR='/usr/share/vim/vimfiles' install -} Copied: vim-latexsuite/repos/community-any/PKGBUILD (from rev 114906, vim-latexsuite/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-07-04 15:39:46 UTC (rev 114907) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Army + +pkgname=vim-latexsuite +pkgver=20130126 +pkgrel=2 +pkgdesc="Tools to view, edit, and compile LaTeX documents within Vim." +arch=('any') +url="http://vim-latex.sourceforge.net" +license=('custom:vim') +depends=('vim') +optdepends=('python2' 'texlive-bin') +groups=('vim-plugins') +source=("ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('3c6a49e8dd3b73bae73de7a4e839a125') +install=$pkgname.install + +build() { + + cd "${srcdir}/$pkgname-$pkgver" + + find . -type f -name *.py -exec sed -i 's:/usr/bin/python:&2:g' {} + + +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + + make DESTDIR="${pkgdir}" PREFIX='/usr' VIMDIR='/usr/share/vim/vimfiles' install +} Deleted: vim-latexsuite.install =================================================================== --- vim-latexsuite.install 2014-07-04 15:39:26 UTC (rev 114906) +++ vim-latexsuite.install 2014-07-04 15:39:46 UTC (rev 114907) @@ -1,41 +0,0 @@ -# arg 1: the new package version -post_install() { - echo '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%' - echo '% Set the following lines in your ~/.vimrc or the systemwide /etc/vimrc:' - echo '% filetype plugin indent on' - echo '% set grepprg=grep\ -nH\ $*' - echo '% let g:tex_flavor = "latex"' - echo '% ' - echo '% Also, this installs to /usr/share/vim/vimfiles, which may not be in' - echo '% your runtime path (RTP). Be sure to add it too, e.g:' - echo '% set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after' - echo '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%' - - # rebuild the vim documentation tags - echo -n "Updating vim help tags..." - /usr/bin/vim --noplugins -u NONE -U NONE \ - --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 - echo "done." - -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - echo -n "Updating vim help tags..." - /usr/bin/vim --noplugins -u NONE -U NONE \ - --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 - echo "done." -} - -# arg 1: the old package version -post_remove() { - echo -n "Updating vim help tags..." - /usr/bin/vim --noplugins -u NONE -U NONE \ - --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 - echo "done." -} - -op=$1 -shift -$op $* Copied: vim-latexsuite/repos/community-any/vim-latexsuite.install (from rev 114906, vim-latexsuite/trunk/vim-latexsuite.install) =================================================================== --- vim-latexsuite.install (rev 0) +++ vim-latexsuite.install 2014-07-04 15:39:46 UTC (rev 114907) @@ -0,0 +1,41 @@ +# arg 1: the new package version +post_install() { + echo '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%' + echo '% Set the following lines in your ~/.vimrc or the systemwide /etc/vimrc:' + echo '% filetype plugin indent on' + echo '% set grepprg=grep\ -nH\ $*' + echo '% let g:tex_flavor = "latex"' + echo '% ' + echo '% Also, this installs to /usr/share/vim/vimfiles, which may not be in' + echo '% your runtime path (RTP). Be sure to add it too, e.g:' + echo '% set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after' + echo '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%' + + # rebuild the vim documentation tags + echo -n "Updating vim help tags..." + /usr/bin/vim --noplugins -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." + +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + echo -n "Updating vim help tags..." + /usr/bin/vim --noplugins -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." +} + +# arg 1: the old package version +post_remove() { + echo -n "Updating vim help tags..." + /usr/bin/vim --noplugins -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." +} + +op=$1 +shift +$op $*