summaryrefslogtreecommitdiff
blob: adce6ea8f64d9c20fb23df9c93aa8794bf7fcc49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit vim-plugin

MY_PN=gist-vim
MY_P=${MY_PN}-${PV}

DESCRIPTION="vim plugin: interact with gists (gist.github.com)"
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=2423 https://github.com/mattn/gist-vim"
SRC_URI="https://github.com/mattn/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 x86 ~x64-macos"

RDEPEND="
	app-vim/webapi
	net-misc/curl
	dev-vcs/git
"

VIM_PLUGIN_HELPFILES="Gist.vim"

S=${WORKDIR}/${MY_P}

src_prepare() {
	default
	rm README.md gist.vim* Makefile || die
}