blob: ee138628634e442779fc5dd05cda5faeec3d574f (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/vimcalc/vimcalc-1.3.ebuild,v 1.4 2011/12/11 09:15:29 phajdan.jr Exp $
EAPI="4"
inherit vim-plugin
DESCRIPTION="vim plugin: provides an interactive calculator inside vim"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3329"
SRC_URI="http://www.vim.org/scripts/download_script.php?src_id=15317 -> ${P}.zip"
LICENSE="vim"
KEYWORDS="amd64 x86"
IUSE=""
VIM_PLUGIN_HELPFILES="vimcalc"
DEPEND="app-arch/unzip"
RDEPEND="|| ( app-editors/vim[python] app-editors/gvim[python] )
=dev-lang/python-2*"
S="${WORKDIR}/${PN}-v${PV}"
src_prepare() {
# Remove .DS_Store files that should not be installed
find -type f -name '.*' -exec rm -f {} + || die
}
|