[arch-commits] Commit in vim-vcscommand/trunk (PKGBUILD vimdoc.install)
Daniel Griffiths
dgriffiths at archlinux.org
Mon Feb 15 21:33:17 UTC 2010
Date: Monday, February 15, 2010 @ 16:33:17
Author: dgriffiths
Revision: 69001
FS#18248
Modified:
vim-vcscommand/trunk/PKGBUILD
vim-vcscommand/trunk/vimdoc.install
----------------+
PKGBUILD | 24 +++++++++++++++---------
vimdoc.install | 2 +-
2 files changed, 16 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-02-15 21:30:05 UTC (rev 69000)
+++ PKGBUILD 2010-02-15 21:33:17 UTC (rev 69001)
@@ -1,10 +1,11 @@
#$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-vcscommand
pkgver=1.99.31
_scriptid=11049
-pkgrel=1
+pkgrel=2
pkgdesc="vim cvs/svn integration plugin"
arch=('any')
url="http://www.vim.org/scripts/script.php?script_id=90"
@@ -20,14 +21,19 @@
sha1sums=('031dd2d9f02a7bc2c5ae68d4ce9edbfac080d7c4' 'a89f765481e070aa82456a48372bb05db9db0910')
build() {
- cd "$srcdir"
+ /bin/true
+}
- installpath="$pkgdir/usr/share/vim/vimfiles"
- mkdir -p "$installpath"
- cp -r doc plugin syntax "$installpath"
+package() {
+ cd ${srcdir}
- #just in case....
- find "$installpath" -type f -exec chmod 644 {} \;
+ installpath="${pkgdir}/usr/share/vim/vimfiles"
+ mkdir -p $installpath
+ cp -r doc plugin syntax $installpath
- install -D -m644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+ #just in case....
+ find "$installpath" -type f -exec chmod 644 {} \;
+
+ install -D -m644 license.txt \
+ ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
}
Modified: vimdoc.install
===================================================================
--- vimdoc.install 2010-02-15 21:30:05 UTC (rev 69000)
+++ vimdoc.install 2010-02-15 21:33:17 UTC (rev 69001)
@@ -1,7 +1,7 @@
post_install() {
echo -n "Updating vim help tags..."
/usr/bin/vim --noplugins -u NONE -U NONE \
- --cmd ":helptags /usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1
+ --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
echo "done."
}
More information about the arch-commits
mailing list