[arch-commits] Commit in vim-omnicppcomplete/trunk (PKGBUILD)

Dan McGee dan at archlinux.org
Sun May 31 12:52:42 EDT 2009


    Date: Sunday, May 31, 2009 @ 12:52:42
  Author: dan
Revision: 40821

upgpkg: vim-omnicppcomplete 0.4.1-2
    rebuilds for plugin location move

Modified:
  vim-omnicppcomplete/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-31 16:52:39 UTC (rev 40820)
+++ PKGBUILD	2009-05-31 16:52:42 UTC (rev 40821)
@@ -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