app-vim/vimoutliner: clean up old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Patrice Clement
2017-05-28 21:52:16 +02:00
parent c7b0db7275
commit da1657a319
2 changed files with 0 additions and 46 deletions

View File

@@ -1,2 +1 @@
DIST vimoutliner-0.3.4.tar.gz 52753 SHA256 9e6e85e67dad1a220eee0031821a93fe27dcd2c3881446049ab8644fc7e100f5 SHA512 6a48e3fa65e83733e4731dd63d9a9c91e9fb37e47ac726d1938bbecc2c37d8be0d72f45c534c4bd231c9bed352cd7db1e3f754529efc4779a50d25cae27982d1 WHIRLPOOL 844f7b13bdd1fcaaf9827ff775c6aae3edf974eb244987e03c89f6f7a13be648419f0d6f3aa7433a605150c661d71de18b081ddd04c592fd6bed2d7cbb16e430
DIST vimoutliner-0.3.6.zip 249053 SHA256 54db454651152a3bd88da37b210259fb369c6a44e74824d2085a8e8ea8969c1d SHA512 20d348ff1b1b9572956fdc56b75e742b25b7deac2637fa6972a1e451edc1f679d8255847a291b84c80866a9ad8a37421524b8eb33565a1bb32ff2b75d0b68dde WHIRLPOOL 87c86930f02162e4819e8ef2feccbbbdfd31629fda9665a6ae64698b89d26663e989238ee9d1e8c360986a05c813807a2906cbe4fd9eb5f422e7b6e79723686b

View File

@@ -1,45 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit vim-plugin
DESCRIPTION="vim plugin: easy and fast outlining"
HOMEPAGE="https://github.com/vimoutliner/vimoutliner"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86"
IUSE=""
VIM_PLUGIN_HELPFILES="vimoutliner"
VIM_PLUGIN_MESSAGES="filetype"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e '/^if exists/,/endif/d' ftdetect/vo_base.vim
sed -i -e 's/g:vo_modules2load/g:vo_modules_load/' vimoutlinerrc
find "${S}" -type f | xargs chmod a+r
}
src_install() {
p=/usr/share/vim/vimfiles
insinto ${p}
doins -r doc ftdetect ftplugin syntax colors || die "doins failed"
# Custom vimoutlinerrc so we actually find the plugins
cp vimoutlinerrc vimoutlinerrc.global
cat >>vimoutlinerrc.global <<-EOF
"Gentoo-specific Configuration **************************************
"Search path for vimoutliner plugins
setlocal runtimepath+=\$VIM/vimfiles/vimoutliner
EOF
newins vimoutlinerrc.global vimoutlinerrc
insinto ${p}/vimoutliner/plugins
doins add-ons/plugins/*.vim
dobin scripts/* add-ons/scripts/*
dodoc vimoutlinerrc add-ons/plugins/*.otl doc/*
}