[arch-commits] Commit in vim-omnicppcomplete/repos (2 files)

Dan McGee dan at archlinux.org
Sun May 31 16:52:48 UTC 2009


    Date: Sunday, May 31, 2009 @ 12:52:48
  Author: dan
Revision: 40822

Merged revisions 356,40821 via svnmerge from 
svn+ssh://archlinux.org/srv/svn-packages/vim-omnicppcomplete/trunk

........
  r356 | aaron | 2008-04-18 17:56:27 -0500 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r40821 | dan | 2009-05-31 11:52:42 -0500 (Sun, 31 May 2009) | 2 lines
  
  upgpkg: vim-omnicppcomplete 0.4.1-2
      rebuilds for plugin location move
........

Modified:
  vim-omnicppcomplete/repos/extra-x86_64/	(properties)
  vim-omnicppcomplete/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)


Property changes on: vim-omnicppcomplete/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /vim-omnicppcomplete/trunk:1
   + /vim-omnicppcomplete/trunk:1-40821

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-05-31 16:52:42 UTC (rev 40821)
+++ extra-x86_64/PKGBUILD	2009-05-31 16:52:48 UTC (rev 40822)
@@ -2,14 +2,15 @@
 # Maintainer : Aaron Griffin <aaron at archlinux.org>
 
 pkgname=vim-omnicppcomplete
-pkgver=0.4.1 #I know the next version will be 0.5 just to break our crap
+#I know the next version will be 0.5 just to break our crap
+pkgver=0.4.1
 _scriptid=7722
-pkgrel=1
+pkgrel=2
 pkgdesc="vim c++ completion omnifunc with a ctags database"
 arch=(i686 x86_64)
 url="http://www.vim.org/scripts/script.php?script_id=1520"
 license=('unknown')
-depends=(vim ctags)
+depends=('vim>=7.0' 'ctags')
 groups=('vim-plugins')
 install=vimdoc.install
 source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid)
@@ -17,13 +18,15 @@
 
 build()
 {
-  cd $startdir/src
+  cd $srcdir
   mv download_script.php?src_id=$_scriptid omnicppcomplete.zip
   unzip -qqo omnicppcomplete.zip
 
-  mkdir -p $startdir/pkg/usr/share/vim/
-  cp -r doc after autoload $startdir/pkg/usr/share/vim/
+  installpath="$pkgdir/usr/share/vim/vim72"
 
+  mkdir -p $installpath
+  cp -r doc after autoload $installpath
+
   #just in case... make sure it's all 644
-  find $startdir/pkg/usr/share/vim -type f -exec chmod 644 {} \;
+  find $installpath -type f -exec chmod 644 {} \;
 }




More information about the arch-commits mailing list