diff options
author | oozyslug | 2015-07-09 07:51:15 +0530 |
---|---|---|
committer | oozyslug | 2015-07-09 07:51:15 +0530 |
commit | 72cccb24d15c3cf87290d81a1d2ae366f646ff2a (patch) | |
tree | 19805dcf867c4202feddf0d3b802ea5dfbf8af60 | |
download | aur-72cccb24d15c3cf87290d81a1d2ae366f646ff2a.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | vimdoc.install | 14 |
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f7d77b79665b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = vim-pathogen-git + pkgdesc = A vim plugin for managing your runtimepath + pkgver = 2.3.10.g91e6378 + pkgrel = 2 + url = http://github.com/tpope/vim-pathogen + install = vimdoc.install + arch = any + groups = vim-plugins + license = GPL + makedepends = git + depends = vim + provides = vim-pathogen + conflicts = vim-pathogen + source = git://github.com/tpope/vim-pathogen.git + sha1sums = SKIP + +pkgname = vim-pathogen-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d26915559962 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: oozyslug <oozyslug at gmail dot com> +# Contributor: oozyslug <oozyslug at gmail dot com> + +pkgname=vim-pathogen-git +pkgver=2.3.10.g91e6378 +pkgrel=2 +pkgdesc="A vim plugin for managing your runtimepath" +arch=('any') +url="http://github.com/tpope/vim-pathogen" +license=('GPL') +groups=('vim-plugins') +depends=('vim') +makedepends=('git') +conflicts=('vim-pathogen') +provides=('vim-pathogen') +install=vimdoc.install +source=("git://github.com/tpope/vim-pathogen.git") +sha1sums=('SKIP') + +pkgver() { + cd vim-pathogen + git describe | sed 's/^v//;s/-/./g' +} + +package() { + cd vim-pathogen + install -Dm755 autoload/pathogen.vim "$pkgdir"/usr/share/vim/vimfiles/autoload/pathogen.vim +} + diff --git a/vimdoc.install b/vimdoc.install new file mode 100644 index 000000000000..0ffd9dde87b1 --- /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 +} |