summaryrefslogtreecommitdiff
blob: 9cbaf4129996df814a0f068d26a7c2dff9a1980f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit elisp readme.gentoo-r1

DESCRIPTION="Provides the google C/C++ coding style"
HOMEPAGE="https://github.com/google/styleguide"
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.el.gz"

LICENSE="|| ( GPL-1+ Artistic )"
SLOT="0"
KEYWORDS="amd64 x86"

S="${WORKDIR}"
SITEFILE="50${PN}-gentoo.el"
DOC_CONTENTS="Example usage (~/.emacs):
	\n\t(add-hook 'c-mode-common-hook 'google-set-c-style)
	\n\t(add-hook 'c-mode-common-hook 'google-make-newline-indent)"