1 |
commit: dbc6272a2d0bc7aa593d99ab15fc8f49c073c4ec |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 29 07:30:06 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 29 07:30:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc6272a |
7 |
|
8 |
app-shells/zsh-syntax-highlighting: Version bump (v0.7.1) |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
app-shells/zsh-syntax-highlighting/Manifest | 1 + |
14 |
.../zsh-syntax-highlighting-0.7.1.ebuild | 42 ++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/app-shells/zsh-syntax-highlighting/Manifest b/app-shells/zsh-syntax-highlighting/Manifest |
18 |
index a557f61f9dd..30131156c19 100644 |
19 |
--- a/app-shells/zsh-syntax-highlighting/Manifest |
20 |
+++ b/app-shells/zsh-syntax-highlighting/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST zsh-syntax-highlighting-0.7.0_beta1.tar.gz 130063 BLAKE2B cf0f6319af22b47cb8a280de682a69b0479dc59033be5ce84840507b77dd2df0441b8d260af55bccb303c87d7f5a7e4cc6db9f46860aee040b4b8115c76f5e07 SHA512 1692015aad58103c752e2dd4161ea87f26aaa09d34eb2faec1f651fea1d9bfad29226455468017160a5393a87c1f7ed0514b09b0802b1810377beef72bfa6c87 |
23 |
+DIST zsh-syntax-highlighting-0.7.1.tar.gz 133554 BLAKE2B cd55a0ad69670b25edc4bfa78ad76d1e2ef501deeca3e93adbef0aca305896722b4906d7717be3ad61bc0cf6b6496e217626406e5ff4168ece4b75bffd94bbf0 SHA512 e7e86b88cdac9b9ed5f973823ba8efff99dd720b9ed929f765f9f9266b9d6e147274f5957ceb630d51a660e396fc22e97f10cfbc5cdde941b907f3773bb1ea2b |
24 |
|
25 |
diff --git a/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-0.7.1.ebuild b/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-0.7.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..8ca8ffb2e2b |
28 |
--- /dev/null |
29 |
+++ b/app-shells/zsh-syntax-highlighting/zsh-syntax-highlighting-0.7.1.ebuild |
30 |
@@ -0,0 +1,42 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit readme.gentoo-r1 |
37 |
+ |
38 |
+if [[ -z ${PV%%*9999} ]]; then |
39 |
+ EGIT_REPO_URI="https://github.com/zsh-users/${PN}.git" |
40 |
+ inherit git-r3 |
41 |
+else |
42 |
+ MY_PV=$(ver_rs 3 -) |
43 |
+ SRC_URI="https://github.com/zsh-users/zsh-syntax-highlighting/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ KEYWORDS="~amd64 ~x86" |
45 |
+ S="${WORKDIR}/${PN}-${MY_PV}" |
46 |
+fi |
47 |
+ |
48 |
+DESCRIPTION="Fish shell like syntax highlighting for zsh" |
49 |
+HOMEPAGE="https://github.com/zsh-users/zsh-syntax-highlighting" |
50 |
+ |
51 |
+LICENSE="BSD" |
52 |
+SLOT="0" |
53 |
+ |
54 |
+RDEPEND="app-shells/zsh" |
55 |
+ |
56 |
+DISABLE_AUTOFORMATTING="true" |
57 |
+DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add |
58 |
+. /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh |
59 |
+at the end of your ~/.zshrc" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ sed -i -e 's/COPYING.md//' Makefile || die |
63 |
+ default |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ emake \ |
68 |
+ SHARE_DIR="${ED}/usr/share/zsh/site-functions" \ |
69 |
+ DOC_DIR="${ED}/usr/share/doc/${PF}" \ |
70 |
+ install |
71 |
+ readme.gentoo_create_doc |
72 |
+} |