[arch-commits] Commit in vim-bufexplorer/trunk (PKGBUILD license.txt)

Aaron Griffin aaron at archlinux.org
Wed Apr 23 03:42:11 UTC 2008


    Date: Tuesday, April 22, 2008 @ 23:42:11
  Author: aaron
Revision: 784

upgpkg: vim-bufexplorer 7.1.7-1

Added:
  vim-bufexplorer/trunk/license.txt
Modified:
  vim-bufexplorer/trunk/PKGBUILD

-------------+
 PKGBUILD    |   26 +++++++++++++++-----------
 license.txt |    9 +++++++++
 2 files changed, 24 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-04-23 03:41:53 UTC (rev 783)
+++ PKGBUILD	2008-04-23 03:42:11 UTC (rev 784)
@@ -2,28 +2,32 @@
 #Maintainer: Aaron Griffin <aaron at archlinux.org>
 
 pkgname=vim-bufexplorer
-pkgver=7.1.4
-_scriptid=7953
+pkgver=7.1.7
+_scriptid=8079
 pkgrel=1
 pkgdesc="A simple buffer list/switcher for vim "
 arch=(i686 x86_64)
 url="http://www.vim.org/scripts/script.php?script_id=42"
-license=('unknown')
+license=('custom')
 depends=('vi>=7.0')
-makedepends=('unzip')
 groups=('vim-plugins')
 install=vimdoc.install
-source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid)
-md5sums=('0aa58e17186f9b4bb28a6be2a97f40e9')
+source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid
+        license.txt)
+md5sums=('dc8e1b14f20c0e5a00d67705870a896f'
+         'b1a7f22e90469abdad3ffd55120e6887')
 
 build() {
   cd $startdir/src
   mv download_script.php?src_id=$_scriptid bufexplorer.zip
-  unzip -qqo bufexplorer.zip
+  bsdtar -xf bufexplorer.zip
 
-  mkdir -p $startdir/pkg/usr/share/vim/doc/
-  install -m644 doc/bufexplorer.txt $startdir/pkg/usr/share/vim/doc/
+  install -D -m644 doc/bufexplorer.txt \
+      $startdir/pkg/usr/share/vim/doc/bufexplorer.txt
 
-  mkdir -p $startdir/pkg/usr/share/vim/plugin/
-  install -m644 plugin/bufexplorer.vim $startdir/pkg/usr/share/vim/plugin/
+  install -D -m644 plugin/bufexplorer.vim \
+      $startdir/pkg/usr/share/vim/plugin/bufexplorer.vim
+
+  install -D -m644 license.txt \
+      $startdir/pkg/usr/share/licenses/$pkgname/license.txt
 }

Added: license.txt
===================================================================
--- license.txt	                        (rev 0)
+++ license.txt	2008-04-23 03:42:11 UTC (rev 784)
@@ -0,0 +1,9 @@
+Copyright (C) 2001-2007 Jeff Lanzarotta
+
+Permission is hereby granted to use and distribute this code,
+with or without modifications, provided that this copyright
+notice is copied with it. Like anything else that's free,
+bufexplorer.vim is provided *as is* and comes with no
+warranty of any kind, either expressed or implied. In no
+event will the copyright holder be liable for any damages
+resulting from the use of this software.





More information about the arch-commits mailing list