app-vim/bufexplorer: add live ebuild
authorTim Harder <radhermit@gentoo.org>
Thu, 17 Aug 2017 20:59:07 +0000 (16:59 -0400)
committerTim Harder <radhermit@gentoo.org>
Thu, 17 Aug 2017 20:59:07 +0000 (16:59 -0400)
app-vim/bufexplorer/bufexplorer-9999.ebuild [new file with mode: 0644]

diff --git a/app-vim/bufexplorer/bufexplorer-9999.ebuild b/app-vim/bufexplorer/bufexplorer-9999.ebuild
new file mode 100644 (file)
index 0000000..cd3d232
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit vim-plugin
+
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/jlanzarotta/bufexplorer.git"
+       inherit git-r3
+else
+       SRC_URI="https://github.com/jlanzarotta/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="vim plugin: easily browse vim buffers"
+HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=42 https://github.com/jlanzarotta/bufexplorer"
+LICENSE="BSD"
+
+VIM_PLUGIN_HELPFILES="${PN}.txt"
+
+src_prepare() {
+       default
+       rm LICENSE README.md || die
+}