Gentoo Archives: gentoo-commits

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-vim/dracula/
Date: Fri, 21 Jan 2022 21:30:45
Message-Id: 1642800632.69b68d7ffa779e2a920b999e7e8a52ee69641891.cybertailor@gentoo
1 commit: 69b68d7ffa779e2a920b999e7e8a52ee69641891
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Fri Jan 21 21:29:38 2022 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Fri Jan 21 21:30:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69b68d7f
7
8 app-vim/dracula: initial import
9
10 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 app-vim/dracula/Manifest | 1 +
13 app-vim/dracula/dracula-2.0.0.ebuild | 31 +++++++++++++++++++++++++++++++
14 app-vim/dracula/metadata.xml | 11 +++++++++++
15 3 files changed, 43 insertions(+)
16
17 diff --git a/app-vim/dracula/Manifest b/app-vim/dracula/Manifest
18 new file mode 100644
19 index 000000000..eafbb74f0
20 --- /dev/null
21 +++ b/app-vim/dracula/Manifest
22 @@ -0,0 +1 @@
23 +DIST dracula-2.0.0-vim.tar.gz 12112 BLAKE2B 08fe4e138ad34f9cebbf88836d30ff2cb12e58817d192d9b2d1f40b9f9fe0f30e3686754d7f87ebba14d748e5f1bd48d10acd14b6391681054ad2adb83fc5093 SHA512 cd86681aff1bd5dfc3b6747e7468fa192776c00cd10dbf6ae99703a679f2576d7c9e1439a829c22459b7bc3248d3657213c6a8d68acd579bb90cf496fa089c71
24
25 diff --git a/app-vim/dracula/dracula-2.0.0.ebuild b/app-vim/dracula/dracula-2.0.0.ebuild
26 new file mode 100644
27 index 000000000..1f409fcf7
28 --- /dev/null
29 +++ b/app-vim/dracula/dracula-2.0.0.ebuild
30 @@ -0,0 +1,31 @@
31 +# Copyright 2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit vim-plugin
37 +
38 +DESCRIPTION="Dark theme for Vim"
39 +HOMEPAGE="https://draculatheme.com/vim"
40 +SRC_URI="https://github.com/${PN}/vim/archive/refs/tags/v${PV}.tar.gz -> ${P}-vim.tar.gz"
41 +S="${WORKDIR}/vim-${PV}"
42 +
43 +LICENSE="MIT"
44 +KEYWORDS="~amd64"
45 +
46 +VIM_PLUGIN_HELPFILES="dracula"
47 +
48 +src_prepare() {
49 + default
50 + rm -r .github || die
51 +
52 + # collision with app-vim/airline-themes
53 + rm -r autoload/airline || die
54 +
55 + # avoid collision with other packages
56 + cd after/syntax || die
57 + for file in *.vim; do
58 + mkdir "${file%.vim}" || die
59 + mv "${file}" "${file%.vim}/${PN}.vim" || die
60 + done
61 +}
62
63 diff --git a/app-vim/dracula/metadata.xml b/app-vim/dracula/metadata.xml
64 new file mode 100644
65 index 000000000..fe9a58440
66 --- /dev/null
67 +++ b/app-vim/dracula/metadata.xml
68 @@ -0,0 +1,11 @@
69 +<?xml version="1.0" encoding="UTF-8"?>
70 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
71 +<pkgmetadata>
72 + <maintainer type="person">
73 + <email>cyber+gentoo@×××××.in</email>
74 + <name>Anna</name>
75 + </maintainer>
76 + <upstream>
77 + <remote-id type="github">dracula/vim</remote-id>
78 + </upstream>
79 +</pkgmetadata>