mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
app-vim/openbsd-style: initial import
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
parent
1c202c07d5
commit
a12a430a02
1
app-vim/openbsd-style/Manifest
Normal file
1
app-vim/openbsd-style/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST openbsd-style-1.1.vim 2669 BLAKE2B 5b2bcca3024c1a743ed0be42510f47340b4f57f7c5866933b01adc1399e40210676c7b8b4631fbdf59231cb9af9c2443af2915b982eb3fa5fc5a03c2b207ee81 SHA512 55f3fd84ae2f3d86b84756165da02d56f221baa81eb42e1df8e7a0e3f243b498e95d343c9ed04fc21db89bc676fa671eeaf424587a77aeef421a62db0e0ed41a
|
8
app-vim/openbsd-style/metadata.xml
Normal file
8
app-vim/openbsd-style/metadata.xml
Normal file
@ -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>cyber@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
27
app-vim/openbsd-style/openbsd-style-1.1.ebuild
Normal file
27
app-vim/openbsd-style/openbsd-style-1.1.ebuild
Normal file
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user