diff options
author | Daniel YC Lin | 2015-06-13 13:22:27 +0800 |
---|---|---|
committer | Daniel YC Lin | 2015-06-13 13:22:27 +0800 |
commit | 02d70a0a8ac7392b4fe52ce6daba54316f65527a (patch) | |
tree | 14cad8a05dc1c8120f140e2bb8f82bc813defe2f | |
download | aur-vim-dotoutlinetree.tar.gz |
merge to aur4
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 23 | ||||
-rw-r--r-- | vimdoc.install | 14 |
4 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..07457e526745 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = vim-dotoutlinetree + pkgdesc = DotOutlineTree - Helps you edit structured text + pkgver = 1.2.3 + pkgrel = 1 + url = http://www.vim.org/scripts/script.php?script_id=1225 + install = vimdoc.install + arch = any + groups = vim-plugins + license = unknown + depends = vim>=7.0 + source = http://www.vim.org/scripts/download_script.php?src_id=16393 + md5sums = 8028a7571dd465e8f2f261dd649db4c5 + +pkgname = vim-dotoutlinetree + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..80cd615ec410 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +## Ignore everything +dot.vim +*.zip +*.xz +*.gz +*.bz2 +*.7z +*/* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..98401ff8a89f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Contributor: Daniel YC Lin <dlin.tw <at> gmail.com> +# Maintainer: Daniel YC Lin <dlin.tw <at> gmail.com> + +pkgname=vim-dotoutlinetree +pkgver=1.2.3 +_scriptid=1225 +_srcid=16393 +pkgrel=1 +pkgdesc="DotOutlineTree - Helps you edit structured text" +arch=('any') +url="http://www.vim.org/scripts/script.php?script_id=$_scriptid" +license=('unknown') +depends=("vim>=7.0") +groups=('vim-plugins') +install=vimdoc.install +source=(dot.vim::http://www.vim.org/scripts/download_script.php?src_id=$_srcid) +md5sums=('8028a7571dd465e8f2f261dd649db4c5') + +package() { + cd ${srcdir} + installpath="${pkgdir}/usr/share/vim/vimfiles" + install -D -m644 dot.vim $installpath/plugin/dot.vim || return 1 +} diff --git a/vimdoc.install b/vimdoc.install new file mode 100644 index 000000000000..4bf6316dd78c --- /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 $1 +} + +post_remove() { + post_install +} |