From f5d56602df70950de6b7d40966b00c9939c81763 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 26 Jan 2020 17:16:07 +0100 Subject: Intial commit of v2 See https://drewdevault.com/2019/12/30/dotfiles.html --- .vim/UltiSnips/ebuild.snippets | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .vim/UltiSnips/ebuild.snippets (limited to '.vim/UltiSnips/ebuild.snippets') diff --git a/.vim/UltiSnips/ebuild.snippets b/.vim/UltiSnips/ebuild.snippets new file mode 100644 index 0000000..ef736ab --- /dev/null +++ b/.vim/UltiSnips/ebuild.snippets @@ -0,0 +1,25 @@ +snippet eapi7 "eapi7" +# Copyright 2019 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}/releases/download/v${PV}/${P}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="$0" +RDEPEND="${DEPEND}" +BDEPEND="" +endsnippet -- cgit 1.4.1