summaryrefslogtreecommitdiff
path: root/app-vim/gnupg
diff options
context:
space:
mode:
Diffstat (limited to 'app-vim/gnupg')
-rw-r--r--app-vim/gnupg/Manifest2
-rw-r--r--app-vim/gnupg/gnupg-2.7.1.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/app-vim/gnupg/Manifest b/app-vim/gnupg/Manifest
index 302ad71171e0..c9650559fadf 100644
--- a/app-vim/gnupg/Manifest
+++ b/app-vim/gnupg/Manifest
@@ -1,3 +1,5 @@
DIST gnupg-2.6.tar.bz2 12074 BLAKE2B d06e4637627187e1d276c3b485e22b35f0cba78a491d34f0884da7ad320f12a3443e40a7c0e7e3f27be03984380eb966d593a283d768bb834a1fefed05656dd3 SHA512 1b7307954aad751006286edebb80767951b9bd9a8eff4c4a57fa6030cb442ceca12730a82c76a2181e1da19cc4cc8be21ccd4f8a21817aedf42785d8ff4b61ac
+DIST gnupg-2.7.1.zip 16131 BLAKE2B 82e29fd95adc5d6690409ec136086be2f0f358143de0bd6ad53c095d4cdcebe47f463f30cc5f494c441222380b5fac3291a9a6f7937f487ad28702ed3e175873 SHA512 07599e981e55d7eac7b06169e9ce30d33374b01680ad0317d5e4b51addce22b195dbd7a22a2adc381dfb89bd66aad9c377b43f36e6a5b32b7c577462b149e0a2
EBUILD gnupg-2.6.ebuild 771 BLAKE2B f3767681669d829f63e517e3919e5921c8903f231dc7138470cab808c2d82ba7a5681ad8210d0cb279af7e33bda6ad227792a9d8c24ceaf1e9172ad6b1f227f5 SHA512 16533f194b0f5f78afaf278f4722317c71cace8db2982d6d759070b079ed72c73ebaaaa38d6654b272328c9b4281a02b1ffa100262e1c6aaff457896a67e06f2
+EBUILD gnupg-2.7.1.ebuild 886 BLAKE2B 12dc71ab4f0a09c9d9d254d539f20a63e4472eb110de492a46402b0d042ebb5ccf791618c6b2a4779ed9c23652d0efc5338e31d62111ae9fe8b9f79296c9deab SHA512 cd9614b5a4c497b4c0933f15e6ffd4ce3e836875a4426814abf1070c21f4455fd5f08feec9d8b0bd23bd0c800891adebe83b1296af3b53360957eb48f4104615
MISC metadata.xml 250 BLAKE2B 159edb6cbbe3884fd7b328cba2125da0a51b5c0be964e60b708efe1bd040a41abdf16f8dbcfaecb9e6e1073528ac99195a08d7045d433414ec2ba1c94d582761 SHA512 6c29f24b33b8829463103cee99e2cf65cf550aa1d6c60c5a746ca2947a97a052969c8dfb9d12ae8114db0971626f9246cb9e4808d951eeae78321325da1ac32a
diff --git a/app-vim/gnupg/gnupg-2.7.1.ebuild b/app-vim/gnupg/gnupg-2.7.1.ebuild
new file mode 100644
index 000000000000..af2368e71d4c
--- /dev/null
+++ b/app-vim/gnupg/gnupg-2.7.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit vim-plugin
+
+DESCRIPTION="transparent editing of gpg encrypted files"
+HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=3645"
+SRC_URI="https://www.vim.org/scripts/download_script.php?src_id=27359 -> ${P}.zip"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~x86"
+
+S="${WORKDIR}/vim-${P}"
+
+RDEPEND="app-crypt/gnupg"
+
+BDEPEND="app-arch/unzip"
+
+VIM_PLUGIN_HELPFILES="${PN}.txt"
+
+src_prepare() {
+ default
+
+ # There's good documentation included with the script, but it's not
+ # in a helpfile. Since there's rather too much information to include
+ # in a VIM_PLUGIN_HELPTEXT, we'll sed ourselves a help doc.
+ sed -e '/" Section: Plugin header.\+$/,9999d' -e 's/^" \?//' \
+ -e 's/\(Name:\s\+\)\([^.]\+\)\.vim/\1*\2.txt*/' \
+ plugin/${PN}.vim \
+ > doc/${PN}.txt || die
+}