diff options
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/google-c-style/ChangeLog | 10 | ||||
-rw-r--r-- | app-emacs/google-c-style/google-c-style-20091009.ebuild | 24 | ||||
-rw-r--r-- | app-emacs/google-c-style/metadata.xml | 6 |
3 files changed, 40 insertions, 0 deletions
diff --git a/app-emacs/google-c-style/ChangeLog b/app-emacs/google-c-style/ChangeLog new file mode 100644 index 000000000000..333f301bdd9e --- /dev/null +++ b/app-emacs/google-c-style/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-emacs/google-c-style +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/google-c-style/ChangeLog,v 1.1 2010/08/11 03:31:35 phajdan.jr Exp $ + +*google-c-style-20091009 (11 Aug 2010) + + 11 Aug 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> + +google-c-style-20091009.ebuild, +metadata.xml: + Initial import. + diff --git a/app-emacs/google-c-style/google-c-style-20091009.ebuild b/app-emacs/google-c-style/google-c-style-20091009.ebuild new file mode 100644 index 000000000000..6cecb6904336 --- /dev/null +++ b/app-emacs/google-c-style/google-c-style-20091009.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/google-c-style/google-c-style-20091009.ebuild,v 1.1 2010/08/11 03:31:35 phajdan.jr Exp $ + +inherit elisp + +IUSE="" + +DESCRIPTION="Provides the google C/C++ coding style." +HOMEPAGE="http://code.google.com/p/google-styleguide/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="" +RDEPEND="" + +pkg_postinst() { + einfo "Example usage (.emacs):" + einfo "(require 'google-c-style)" + einfo "(add-hook 'c-mode-common-hook 'google-set-c-style)" + einfo "(add-hook 'c-mode-common-hook 'google-make-newline-indent)" +} diff --git a/app-emacs/google-c-style/metadata.xml b/app-emacs/google-c-style/metadata.xml new file mode 100644 index 000000000000..1d4cd56fb85b --- /dev/null +++ b/app-emacs/google-c-style/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>chromium</herd> + <herd>emacs</herd> +</pkgmetadata> |