diff --git a/vim-lightline-git/.SRCINFO b/vim-lightline-git/.SRCINFO new file mode 100644 index 0000000..7624f43 --- /dev/null +++ b/vim-lightline-git/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Thu Dec 10 17:28:20 UTC 2015 +pkgbase = vim-lightline-git + pkgdesc = A light and configurable statusline/tabline for Vim + pkgver = latest + pkgrel = 1 + url = https://github.com/itchyny/lightline.vim + install = vimdoc.install + arch = any + license = MIT + makedepends = git + depends = vim-runtime + source = git://github.com/itchyny/lightline.vim.git + md5sums = SKIP + +pkgname = vim-lightline-git + diff --git a/vim-lightline-git/PKGBUILD b/vim-lightline-git/PKGBUILD new file mode 100644 index 0000000..e640bbc --- /dev/null +++ b/vim-lightline-git/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: jeff tracy +# Contributor: + +pkgname=vim-lightline-git +pkgver=latest +pkgrel=1 +pkgdesc='A light and configurable statusline/tabline for Vim' +arch=('any') +url='https://github.com/itchyny/lightline.vim' +license=('MIT') +depends=('vim-runtime') +makedepends=('git') +install='vimdoc.install' +source=("git://github.com/itchyny/lightline.vim.git") +md5sums=('SKIP') + +package() { + cd "lightline.vim" + + _installpath="$pkgdir/usr/share/vim/vimfiles" + install -Dm755 doc/lightline.txt "$_installpath/doc/lightline.txt" + install -Dm755 plugin/lightline.vim "$_installpath/plugin/lightline.vim" + install -d "$_installpath/autoload" + install -d "$_installpath/t" + cp -R autoload/* "$_installpath/autoload" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: + diff --git a/vim-lightline-git/vimdoc.install b/vim-lightline-git/vimdoc.install new file mode 100644 index 0000000..4ec1842 --- /dev/null +++ b/vim-lightline-git/vimdoc.install @@ -0,0 +1,16 @@ +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 +} + +# vim:set ts=2 sw=2 et: