commit:     a12a430a0268368d72a7f68b7224b7601bbaae92
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Jul 19 08:06:30 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Jul 19 08:10:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a12a430a

app-vim/openbsd-style: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-vim/openbsd-style/Manifest                 |  1 +
 app-vim/openbsd-style/metadata.xml             |  8 ++++++++
 app-vim/openbsd-style/openbsd-style-1.1.ebuild | 27 ++++++++++++++++++++++++++
 3 files changed, 36 insertions(+)

diff --git a/app-vim/openbsd-style/Manifest b/app-vim/openbsd-style/Manifest
new file mode 100644
index 000000000..f83d3f690
--- /dev/null
+++ b/app-vim/openbsd-style/Manifest
@@ -0,0 +1 @@
+DIST openbsd-style-1.1.vim 2669 BLAKE2B 
5b2bcca3024c1a743ed0be42510f47340b4f57f7c5866933b01adc1399e40210676c7b8b4631fbdf59231cb9af9c2443af2915b982eb3fa5fc5a03c2b207ee81
 SHA512 
55f3fd84ae2f3d86b84756165da02d56f221baa81eb42e1df8e7a0e3f243b498e95d343c9ed04fc21db89bc676fa671eeaf424587a77aeef421a62db0e0ed41a

diff --git a/app-vim/openbsd-style/metadata.xml 
b/app-vim/openbsd-style/metadata.xml
new file mode 100644
index 000000000..46ff3593d
--- /dev/null
+++ b/app-vim/openbsd-style/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Anna</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/app-vim/openbsd-style/openbsd-style-1.1.ebuild 
b/app-vim/openbsd-style/openbsd-style-1.1.ebuild
new file mode 100644
index 000000000..925c5c636
--- /dev/null
+++ b/app-vim/openbsd-style/openbsd-style-1.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VIM_PLUGIN_VIM_VERSION="7.1"
+inherit vim-plugin
+
+MY_PN=${PN%-style}
+DESCRIPTION="vim plugin: indent code according to the OpenBSD and FreeBSD 
style(9)"
+HOMEPAGE="https://wiki.freebsd.org/DevTools";
+SRC_URI="https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/editors/vim/files/${MY_PN}.vim?rev=${PV}
 -> ${P}.vim"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+VIM_PLUGIN_HELPTEXT=\
+"This plugin registers OpenBSD_Style() macro for changing a buffer's
+indentation rules but does not change the indentation of existing code.
+
+To activate it, simply type \\f in normal mode."
+
+src_unpack() {
+       mkdir -p "${S}"/syntax || die
+       cp "${DISTDIR}"/${P}.vim "${S}"/syntax/${MY_PN}.vim || die
+}

Reply via email to