diff options
4 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bb62b0fe076
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = vim-extradite-git
+ pkgdesc = A git commit browser. Latest git version
+ pkgver = 20110302
+ pkgrel = 1
+ url =
+ install = vimdoc.install
+ arch = any
+ groups = vim-plugins
+ license = custom:public-domain
+ makedepends = git
+ depends = vim
+ depends = vim-fugitive
+ source = license.txt
+ md5sums = 6c8165541cda0defa2adc6ad03bfea6e
+pkgname = vim-extradite-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1bae1510536
--- /dev/null
@@ -0,0 +1,39 @@
+# Maintainer: Timothy Redaelli <>
+pkgdesc="A git commit browser. Latest git version"
+depends=('vim' 'vim-fugitive')
+build() {
+ cd "${srcdir}"
+ msg "Connecting to GIT server...."
+ if [ -d ${_gitname} ] ; then
+ cd ${_gitname} && git pull origin
+ msg "The local files are updated."
+ else
+ git clone ${_gitroot} ${_gitname}
+ fi
+ msg "GIT checkout done or server timeout"
+ cd "${srcdir}/${_gitname}"
+ local _installpath="${pkgdir}/usr/share/vim/vimfiles"
+ install -Dm644 doc/extradite.txt "${_installpath}"/doc/extradite.txt
+ install -Dm644 plugin/extradite.vim "${_installpath}"/plugin/extradite.vim
+ install -Dm644 "${srcdir}"/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
+# vim:set ts=2 sw=2 et:
diff --git a/license.txt b/license.txt
new file mode 100644
index 00000000000..f08da475af0
--- /dev/null
+++ b/license.txt
@@ -0,0 +1,7 @@
+The person or persons who have associated work with this document (the "Dedicator" or "Certifier") hereby either (a) certifies that, to the best of his knowledge, the work of authorship identified is in the public domain of the country from which the work is published, or (b) hereby dedicates whatever copyright the dedicators holds in the work of authorship identified below (the "Work") to the public domain. A certifier, moreover, dedicates any copyright interest he may have in the associated work, and for these purposes, is described as a "dedicator" below.
+A certifier has taken reasonable steps to verify the copyright status of this work. Certifier recognizes that his good faith efforts may not shield him from liability if in fact the work certified is not in the public domain.
+Dedicator makes this dedication for the benefit of the public at large and to the detriment of the Dedicator's heirs and successors. Dedicator intends this dedication to be an overt act of relinquishment in perpetuity of all present and future rights under copyright law, whether vested or contingent, in the Work. Dedicator understands that such relinquishment of all rights includes the relinquishment of all rights to enforce (by lawsuit or otherwise) those copyrights in the Work.
+Dedicator recognizes that, once placed in the public domain, the Work may be freely reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited by anyone for any purpose, commercial or non-commercial, and in any way, including by methods that have not yet been invented or conceived.
diff --git a/vimdoc.install b/vimdoc.install
new file mode 100644
index 00000000000..c6ce857be4b
--- /dev/null
+++ b/vimdoc.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo -n "Updating vim help tags..."
+ /usr/bin/vim --noplugins -u NONE -U NONE \
+ --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
+ echo "done."
+post_upgrade() {
+ post_install
+post_remove() {
+ post_install