summaryrefslogtreecommitdiff
path: root/app-vim/alternate
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-vim/alternate
reinit the tree, so we can have metadata
Diffstat (limited to 'app-vim/alternate')
-rw-r--r--app-vim/alternate/Manifest8
-rw-r--r--app-vim/alternate/alternate-2.18-r1.ebuild26
-rw-r--r--app-vim/alternate/alternate-2.18-r2.ebuild33
-rw-r--r--app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch18
-rw-r--r--app-vim/alternate/metadata.xml11
5 files changed, 96 insertions, 0 deletions
diff --git a/app-vim/alternate/Manifest b/app-vim/alternate/Manifest
new file mode 100644
index 000000000000..5e15b3e10b64
--- /dev/null
+++ b/app-vim/alternate/Manifest
@@ -0,0 +1,8 @@
+AUX alternate-2.18-hh-cc-alternation.patch 918 SHA256 cff1d008e790a3f3608552f7bb690a32e079ac889f772221e22f756a3b423a68 SHA512 b1f524d47785e7482791b56f891e624da2a06739483d0584d080f691eaf89c9a350e708fd1369c41b6f99a263d7395b25572366e0b90b0349230079fbdcea4b9 WHIRLPOOL 09199267b161cdda351da2505680d4a62cff49a6efa9d73ee5a515e04fa9080ca045af05f7c269f745f9e177e4e68530213cec625c7c45fa21b85eae8c2828ed
+DIST alternate-2.18.tar.bz2 7907 SHA256 2367638f93c6ce3681a6ad6d5c83f586cd6598abd9f0b20bf02c740ac0efb59e SHA512 397d39a5c5fd186f32f3e0a1651f9b9f739899ffcfdd344e85117c4bb676d8fb8c668410754fefe8934ff1a57537387d49d115dfa17bdca896e423935840ae3f WHIRLPOOL d7635d1812b311232fcbee42d94ad9a0b86176f789d5f9336eb40d2efe5c1a2f660008b8facf5dbba8c094946a574e6b379dd7262dea4aff278c34b7cbe25ec7
+DIST alternate.txt 8897 SHA256 a8fb8daabeee00b7a5c22b65f76dc0758b3e5fcfb95297235ec3ce102bdc4eb3 SHA512 92b24aef5fe1fb459b4cb85ca780ae20126bc79138ac15dec652c15a89b688d40bedc00bdae8fce912c8805b24b8805e45ddbd9e6b1ec10c20e61eed11d37651 WHIRLPOOL 780ae8514b65158a4872821f6847d0186d0ccfdd8b2b232617926aa2d907fb59a7d55abfceac96118565799cf6fc14b4def15ba32c1017126f4ff9f948ae3882
+EBUILD alternate-2.18-r1.ebuild 689 SHA256 fbc5a9040bf9d4828c996b734a529efde7dfb110ecea1ad8e151e85716abea20 SHA512 957ae30088ed8242bc3b78b9f2c655b51ceb2cf9a8c2a7e7ef0b77cd1838345668a5860aa7172dc15e6808a3e62404c0225cd0b996556fb881228449b9773f72 WHIRLPOOL 0ae2f92c326828184c9d521761fade8fcfa05749f3046edf3685ff88fd57d95c60912f8faa2c711fa7223f9bd2e60415ab00d1676b3df4c8c0dfa29806d89dab
+EBUILD alternate-2.18-r2.ebuild 934 SHA256 cc5d973f7823fc4d2deec53bf37a8106963628c042c64c9f2a37424e0db5db7f SHA512 e06f8b7a890b2a1d80ef6fc020f36cb5a71fa05570eac1bc0ad8be9fa1b1728f2ef321943bb5ebac40489974d9d668e6b446419fb78f692369e57945ef9cd58f WHIRLPOOL 97ccb5dc96be7c451b1348d3e39f80d65fb3bff5ce374aee6a520e5aabef815431e705f7956eace3568ab6e9f45b975fcd6e90b6c0f655c0355e40da90a1c7d5
+MISC ChangeLog 2919 SHA256 501413ad1c4423288ca8c7c911f1761c50dd972da94c497f9d0b3721ebd179ae SHA512 867e4b621186c840b1d7bde08902636ce7fbdcfcd87b736a34a7d650b28a3edbfb98ef4c859b467fa3bc140f08c186f4016ac3f981b02a2474fe993996776eed WHIRLPOOL 2ad7ed41f1e3ab7ecffa2ccac352ec090b9e40e70558ef35ffd0fd82984a9d65ca5b26aa9647ec22918574d4e319dfeb98bd275f3c6b067f9c54ed6af1e4cee1
+MISC ChangeLog-2015 5945 SHA256 7395d651fa2ed975c2d892edf25b57d772ec0fa1fe74a6d223e038d1389082d1 SHA512 913e11f078018ce71e8a6f7131b6c7116140076783875277fdc6a6f3d42afb0b89217d2ce5dcb779b54c6ede8f04f6af10e92e74f73748e820a9ed08e3584d0d WHIRLPOOL 4a65bcea8e5fe9d4653b924b9cd9c4eeab23d9defd34fb9c03a660df2791d5fe1310df0fc05386785398172b2c570202cee693ae74ae6bf0182a58b94c89caa5
+MISC metadata.xml 331 SHA256 d446615278cc7260fa7dc47db1dc077b806860e294a347293d958bef13e09831 SHA512 ef4ca068ea9f5409c814ca371c0f68456799bed2bae3019cf2ea3af5c2d13750a059f1d885e2c901cc6549cb7915dcb48abb9d5ce7d67210d89b73d79a2e319d WHIRLPOOL b5a4ea4c739370ce41fce4f7b73a54b1a913d1f9e0f4862a6b2ebb0223bf4de495033f2245bf81879d46b1bf53f3afeb98d72764e9ecdf448206cf62ba750f55
diff --git a/app-vim/alternate/alternate-2.18-r1.ebuild b/app-vim/alternate/alternate-2.18-r1.ebuild
new file mode 100644
index 000000000000..5fce4fba8e50
--- /dev/null
+++ b/app-vim/alternate/alternate-2.18-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit vim-plugin eutils
+
+DESCRIPTION="vim plugin: quickly switch between .c and .h files"
+HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=31"
+
+LICENSE="alternate"
+KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE=""
+
+VIM_PLUGIN_HELPTEXT=\
+"This plugin provides a new :A command which will switch between a .c
+file and the associated .h file. There is also :AS to split windows and
+:AV to split windows vertiically."
+
+PATCHES=(
+ "${FILESDIR}"/${P}-hh-cc-alternation.patch
+)
+
+src_prepare() {
+ default
+}
diff --git a/app-vim/alternate/alternate-2.18-r2.ebuild b/app-vim/alternate/alternate-2.18-r2.ebuild
new file mode 100644
index 000000000000..53430a53691f
--- /dev/null
+++ b/app-vim/alternate/alternate-2.18-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit vim-plugin
+
+DESCRIPTION="vim plugin: quickly switch between .c and .h files"
+HOMEPAGE="https://github.com/vim-scripts/a.vim"
+SRC_URI="
+ https://github.com/vim-scripts/a.vim/archive/${PV}.tar.bz2 -> ${P}.tar.bz2
+ http://www.vim.org/scripts/download_script.php?src_id=6347 -> ${PN}.txt
+"
+
+LICENSE="alternate"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+VIM_PLUGIN_HELPTEXT=\
+"This plugin provides a new :A command which will switch between a .c
+file and the associated .h file. There is also :AS to split windows and
+:AV to split windows vertiically."
+
+VIM_PLUGIN_HELPFILES="${PN}.txt"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-hh-cc-alternation.patch
+)
+
+src_prepare() {
+ default
+ mkdir -p "${S}/doc" || die
+ cp "${DISTDIR}/${PN}.txt" "${S}/doc" || die
+}
diff --git a/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch b/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch
new file mode 100644
index 000000000000..14b314aa0e0c
--- /dev/null
+++ b/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch
@@ -0,0 +1,18 @@
+--- a/plugin/a.vim 2005-05-06 22:20:24.000000000 +0100
++++ b/plugin/a.vim 2005-06-20 15:45:45.000000000 +0100
+@@ -57,13 +57,14 @@
+ " Mappings for C and C++
+ call <SID>AddAlternateExtensionMapping('h',"c,cpp,cxx,cc,CC")
+ call <SID>AddAlternateExtensionMapping('H',"C,CPP,CXX,CC")
++call <SID>AddAlternateExtensionMapping('hh',"c,cpp,cxx,cc,CC")
+ call <SID>AddAlternateExtensionMapping('hpp',"cpp,c")
+ call <SID>AddAlternateExtensionMapping('HPP',"CPP,C")
+ call <SID>AddAlternateExtensionMapping('c',"h")
+ call <SID>AddAlternateExtensionMapping('C',"H")
+ call <SID>AddAlternateExtensionMapping('cpp',"h,hpp")
+ call <SID>AddAlternateExtensionMapping('CPP',"H,HPP")
+-call <SID>AddAlternateExtensionMapping('cc',"h")
++call <SID>AddAlternateExtensionMapping('cc',"h,hh")
+ call <SID>AddAlternateExtensionMapping('CC',"H,h")
+ call <SID>AddAlternateExtensionMapping('cxx',"h")
+ call <SID>AddAlternateExtensionMapping('CXX',"H")
diff --git a/app-vim/alternate/metadata.xml b/app-vim/alternate/metadata.xml
new file mode 100644
index 000000000000..e9468b3dde77
--- /dev/null
+++ b/app-vim/alternate/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>vim@gentoo.org</email>
+ <name>Gentoo Vim Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">vim-scripts/a.vim</remote-id>
+ </upstream>
+</pkgmetadata>