From c030f56d8f02f25f70ba47548221461241f915b2 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Mon, 25 Dec 2017 14:01:15 -0800 Subject: [PATCH] pull in https://aur.archlinux.org/vim-lightline-git.git into vim-lightline-git pull in https://aur.archlinux.org/vim-lightline-git.git commit 95ac7c5e2434144e5a40e4b71432bf9d61203cac, into vim-lightline-git --- vim-lightline-git/.SRCINFO | 17 +++++++++++++++++ vim-lightline-git/PKGBUILD | 31 +++++++++++++++++++++++++++++++ vim-lightline-git/vimdoc.install | 16 ++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 vim-lightline-git/.SRCINFO create mode 100644 vim-lightline-git/PKGBUILD create mode 100644 vim-lightline-git/vimdoc.install 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: