[arch-commits] Commit in (cmake/trunk/PKGBUILD mercurial/trunk/PKGBUILD)

Dan McGee dan at archlinux.org
Mon Jun 1 21:52:21 EDT 2009


    Date: Monday, June 1, 2009 @ 21:52:21
  Author: dan
Revision: 40983

Update vim stuff paths

Modified:
  cmake/trunk/PKGBUILD
  mercurial/trunk/PKGBUILD

--------------------------+
 cmake/trunk/PKGBUILD     |    7 ++++---
 mercurial/trunk/PKGBUILD |    7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

Modified: cmake/trunk/PKGBUILD
===================================================================
--- cmake/trunk/PKGBUILD	2009-06-01 20:09:16 UTC (rev 40982)
+++ cmake/trunk/PKGBUILD	2009-06-02 01:52:21 UTC (rev 40983)
@@ -6,7 +6,7 @@
 pkgname=cmake
 pkgver=2.6.4
 pkgrel=2
-pkgdesc="CMake is a cross-platform open-source make system"
+pkgdesc="A cross-platform open-source make system"
 arch=('i686' 'x86_64')
 license=('custom')
 url="http://www.cmake.org"
@@ -26,8 +26,9 @@
 	make || return 1
 	make DESTDIR=$pkgdir install
 
-	install -D -m644 Docs/cmake-indent.vim $pkgdir/usr/share/vim/indent/cmake-indent.vim
-	install -D -m644 Docs/cmake-syntax.vim $pkgdir/usr/share/vim/syntax/cmake-syntax.vim
+	vimpath="$pkgdir/usr/share/vim/vim72"
+	install -D -m644 Docs/cmake-indent.vim $vimpath/indent/cmake-indent.vim
+	install -D -m644 Docs/cmake-syntax.vim $vimpath/syntax/cmake-syntax.vim
 	install -D -m644 Docs/cmake-mode.el $pkgdir/usr/share/emacs/site-lisp/cmake-mode.el
 	install -D -m644 Copyright.txt $pkgdir/usr/share/licenses/$pkgname/Copyright.txt	
 }

Modified: mercurial/trunk/PKGBUILD
===================================================================
--- mercurial/trunk/PKGBUILD	2009-06-01 20:09:16 UTC (rev 40982)
+++ mercurial/trunk/PKGBUILD	2009-06-02 01:52:21 UTC (rev 40983)
@@ -26,10 +26,11 @@
     install -m644 -D contrib/bash_completion $startdir/pkg/etc/bash_completion.d/hg 
     install -d $startdir/pkg/usr/share/emacs/site-lisp
     install -m644 contrib/{mq.el,mercurial.el} $startdir/pkg/usr/share/emacs/site-lisp
-    install -m644 -D contrib/vim/HGAnnotate.vim $startdir/pkg/usr/share/vim/syntax/HGAnnotate.vim
+    vimpath="$pkgdir/usr/share/vim/vim72"
+    install -m644 -D contrib/vim/HGAnnotate.vim $vimpath/syntax/HGAnnotate.vim
 
     # Autoloading plugins to vim = no good.  
-    #  install -d $startdir/pkg/usr/share/vim/plugin
-    #  install -m644 contrib/vim/{hg-menu.vim,hgcommand.vim,patchreview.vim} $startdir/pkg/usr/share/vim/plugin
+    #  install -d $vimpath/plugin
+    #  install -m644 contrib/vim/{hg-menu.vim,hgcommand.vim,patchreview.vim} $vimpath/plugin
 }
 md5sums=('24d6994cc58b353398e11c7a19cf1d19')



More information about the arch-commits mailing list