summary refs log tree commit diff
path: root/.vim/after/snippets/ebuild.snippets.todo
blob: 6856c61f19215d070922714667cab64507fd96d7 (plain) (blame)
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
snippet eapi7 "eapi7"
# Copyright `!v strftime('%Y')` Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="$2"
HOMEPAGE="$3"

if [[ ${PV} = *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/$1/${PN}.git"
else
	SRC_URI="https://github.com/$1/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi

LICENSE="MIT"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~arm64 ~x86"

DEPEND="$0"
RDEPEND="${DEPEND}"
BDEPEND=""
endsnippet