1 |
commit: 54e6240f94f2baecefaeaf4158650d8b27a2b7e9 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 2 09:55:36 2022 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 2 10:55:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54e6240f |
7 |
|
8 |
x11-themes/tela-icon-theme: compact bash syntax a bit |
9 |
|
10 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
11 |
|
12 |
x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild | 13 ++++++------- |
13 |
x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild | 13 ++++++------- |
14 |
2 files changed, 12 insertions(+), 14 deletions(-) |
15 |
|
16 |
diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild |
17 |
index 09de04dd50cd..a4310154d7d6 100644 |
18 |
--- a/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild |
19 |
+++ b/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild |
20 |
@@ -26,11 +26,12 @@ fi |
21 |
|
22 |
LICENSE="GPL-3+" |
23 |
SLOT="0" |
24 |
-IUSE="${MY_COLOR_VARIANTS[*]/standard/+standard}" |
25 |
+IUSE="+${MY_COLOR_VARIANTS[*]}" # this is why standard comes first |
26 |
|
27 |
REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )" |
28 |
|
29 |
-RESTRICT="binchecks strip test" # not needed |
30 |
+# not needed |
31 |
+RESTRICT="binchecks strip test" |
32 |
|
33 |
BDEPEND="app-shells/bash" |
34 |
|
35 |
@@ -42,11 +43,9 @@ src_prepare() { |
36 |
|
37 |
src_install() { |
38 |
local v variants=( |
39 |
- $( |
40 |
- for v in ${MY_COLOR_VARIANTS[@]}; do |
41 |
- usev ${v} |
42 |
- done |
43 |
- ) |
44 |
+ $(for v in ${MY_COLOR_VARIANTS[@]}; do |
45 |
+ usev ${v} |
46 |
+ done) |
47 |
) |
48 |
|
49 |
dodir /usr/share/icons |
50 |
|
51 |
diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild |
52 |
index 09de04dd50cd..a4310154d7d6 100644 |
53 |
--- a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild |
54 |
+++ b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild |
55 |
@@ -26,11 +26,12 @@ fi |
56 |
|
57 |
LICENSE="GPL-3+" |
58 |
SLOT="0" |
59 |
-IUSE="${MY_COLOR_VARIANTS[*]/standard/+standard}" |
60 |
+IUSE="+${MY_COLOR_VARIANTS[*]}" # this is why standard comes first |
61 |
|
62 |
REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )" |
63 |
|
64 |
-RESTRICT="binchecks strip test" # not needed |
65 |
+# not needed |
66 |
+RESTRICT="binchecks strip test" |
67 |
|
68 |
BDEPEND="app-shells/bash" |
69 |
|
70 |
@@ -42,11 +43,9 @@ src_prepare() { |
71 |
|
72 |
src_install() { |
73 |
local v variants=( |
74 |
- $( |
75 |
- for v in ${MY_COLOR_VARIANTS[@]}; do |
76 |
- usev ${v} |
77 |
- done |
78 |
- ) |
79 |
+ $(for v in ${MY_COLOR_VARIANTS[@]}; do |
80 |
+ usev ${v} |
81 |
+ done) |
82 |
) |
83 |
|
84 |
dodir /usr/share/icons |