[arch-commits] Commit in vim-project/trunk (LICENSE PKGBUILD vimdoc.install)

Eric Bélanger eric at archlinux.org
Mon Apr 20 02:25:21 UTC 2009


    Date: Sunday, April 19, 2009 @ 22:25:21
  Author: eric
Revision: 36115

upgpkg: vim-project 1.4.1-2
    Added license

Added:
  vim-project/trunk/LICENSE
Modified:
  vim-project/trunk/PKGBUILD
  vim-project/trunk/vimdoc.install

----------------+
 LICENSE        |    7 +++++++
 PKGBUILD       |   19 +++++++++----------
 vimdoc.install |    5 -----
 3 files changed, 16 insertions(+), 15 deletions(-)

Added: LICENSE
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2009-04-20 02:25:21 UTC (rev 36115)
@@ -0,0 +1,7 @@
+"=============================================================================
+" File:        project.vim
+" Author:      Aric Blumer (Aric.Blumer at aricvim at charter.net)
+" Last Change: Fri 13 Oct 2006 09:47:08 AM EDT
+" Version:     1.4.1
+"=============================================================================
+" You may use this code in whatever way you see fit.

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-20 02:23:44 UTC (rev 36114)
+++ PKGBUILD	2009-04-20 02:25:21 UTC (rev 36115)
@@ -4,25 +4,24 @@
 pkgname=vim-project
 pkgver=1.4.1
 _scriptid=6273
-pkgrel=1
-pkgdesc="organize and navigate projects of files (like an ide/buffer explorer)"
+pkgrel=2
+pkgdesc="Organize and navigate projects of files (like an ide/buffer explorer)"
 arch=(i686 x86_64)
 url="http://www.vim.org/scripts/script.php?script_id=69"
+license=('custom')
 depends=(vim)
 groups=('vim-plugins')
 install=vimdoc.install
-source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid)
-md5sums=('95ddb23f0e301a79e869c608a36637de')
+source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid LICENSE)
+md5sums=('95ddb23f0e301a79e869c608a36637de' '64ab6c0d41d5153d51439913d23f71ae')
 
 build()
 {
-  cd $startdir/src
+  cd $srcdir
   mv download_script.php?src_id=$_scriptid project-${pkgver}.tar.gz
   tar xzf project-${pkgver}.tar.gz
 
-  mkdir -p $startdir/pkg/usr/share/vim/doc
-  install -m644 doc/project.txt $startdir/pkg/usr/share/vim/doc
-
-  mkdir -p $startdir/pkg/usr/share/vim/plugin
-  install -m644 plugin/project.vim $startdir/pkg/usr/share/vim/plugin
+  install -D -m644 doc/project.txt $pkgdir/usr/share/vim/doc/project.txt || return 1
+  install -D -m644 plugin/project.vim $pkgdir/usr/share/vim/plugin/project.vim || return 1
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
 }

Modified: vimdoc.install
===================================================================
--- vimdoc.install	2009-04-20 02:23:44 UTC (rev 36114)
+++ vimdoc.install	2009-04-20 02:25:21 UTC (rev 36115)
@@ -12,8 +12,3 @@
 post_remove() {
   post_install
 }
-
-op=$1
-shift
-
-$op $*




More information about the arch-commits mailing list