[arch-commits] Commit in vim-matchit/trunk (PKGBUILD vimdoc.install)
Daniel Griffiths
dgriffiths at archlinux.org
Mon Feb 15 21:13:38 UTC 2010
Date: Monday, February 15, 2010 @ 16:13:37
Author: dgriffiths
Revision: 68986
FS#18248
Modified:
vim-matchit/trunk/PKGBUILD
vim-matchit/trunk/vimdoc.install
----------------+
PKGBUILD | 27 +++++++++++++++------------
vimdoc.install | 5 -----
2 files changed, 15 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-02-15 21:10:26 UTC (rev 68985)
+++ PKGBUILD 2010-02-15 21:13:37 UTC (rev 68986)
@@ -1,15 +1,16 @@
# $Id$
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=vim-matchit
pkgver=1.13.2
_scriptid=8196
-pkgrel=3
+pkgrel=4
pkgdesc="Extended % matching for vim"
-arch=(i686 x86_64)
+arch=('any')
url="http://www.vim.org/scripts/script.php?script_id=39"
-depends=(vim)
+depends=('vim')
+makedepends=('unzip')
groups=('vim-plugins')
license=('custom:none')
install=vimdoc.install
@@ -18,15 +19,17 @@
sha256sums=('94c89edc419e115b333f4acc55ba4a3fd3cd76f2bcc6c69f9ae02cb8824475ad')
build() {
- cd $srcdir
- mv download_script.php?src_id=$_scriptid matchit.zip
- unzip -qqo matchit.zip
+ cd ${srcdir}
- installpath="$pkgdir/usr/share/vim/vimfiles"
+ mv download_script.php?src_id=$_scriptid matchit.zip
+ unzip -qqo matchit.zip
+}
- mkdir -p $installpath/doc/
- install -m644 doc/matchit.txt $installpath/doc/
+package() {
+ cd ${srcdir}
- mkdir -p $installpath/plugin/
- install -m644 plugin/matchit.vim $installpath/plugin/
+ installpath="${pkgdir}/usr/share/vim/vimfiles"
+
+ install -Dm644 doc/matchit.txt $installpath/doc/matchit.txt
+ install -Dm644 plugin/matchit.vim $installpath/plugin/matchit.vim
}
Modified: vimdoc.install
===================================================================
--- vimdoc.install 2010-02-15 21:10:26 UTC (rev 68985)
+++ vimdoc.install 2010-02-15 21:13:37 UTC (rev 68986)
@@ -12,8 +12,3 @@
post_remove() {
post_install
}
-
-op=$1
-shift
-
-$op $*
More information about the arch-commits
mailing list