1 |
commit: 11a1e5635ec1d8d00e2863170fd78114fef68942 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 7 12:30:33 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 7 13:42:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a1e563 |
7 |
|
8 |
x11-themes/gentoo-artwork: EAPI-7 bump, missing || die, sort IUSE |
9 |
|
10 |
drop superfluous dodir |
11 |
|
12 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
.../gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild | 76 ++++++++++------------ |
16 |
1 file changed, 36 insertions(+), 40 deletions(-) |
17 |
|
18 |
diff --git a/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild b/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild |
19 |
index dc4b33a158c..274e05b862b 100644 |
20 |
--- a/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild |
21 |
+++ b/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2-r1.ebuild |
22 |
@@ -1,17 +1,19 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI="5" |
28 |
+EAPI=7 |
29 |
|
30 |
BI_VER="20060811" |
31 |
|
32 |
-DESCRIPTION="A collection of miscellaneous Gentoo Linux logos and artwork" |
33 |
-SRC_URI="pixmaps? ( |
34 |
+DESCRIPTION="Collection of miscellaneous Gentoo Linux logos and artwork" |
35 |
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Artwork" |
36 |
+SRC_URI=" |
37 |
+ pixmaps? ( |
38 |
mirror://gentoo/gentoo-artwork-0.2.tar.bz2 |
39 |
mirror://gentoo/gentoo-artwork-0.3.tar.bz2 |
40 |
mirror://gentoo/gentoo-artwork-0.4.tar.bz2 |
41 |
mirror://gentoo/gentoo-artwork-0.4.1.tar.bz2 |
42 |
- mirror://gentoo/gentoo-artwork-0.4.2.tar.bz2 |
43 |
+ mirror://gentoo/gentoo-artwork-${PV}.tar.bz2 |
44 |
icons? ( mirror://gentoo/gentoo-bubble-icons-${BI_VER}.tar.gz ) |
45 |
) |
46 |
!pixmaps? ( |
47 |
@@ -19,7 +21,7 @@ SRC_URI="pixmaps? ( |
48 |
mirror://gentoo/gentoo-artwork-0.2.tar.bz2 |
49 |
mirror://gentoo/gentoo-artwork-0.3.tar.bz2 |
50 |
mirror://gentoo/gentoo-artwork-0.4.tar.bz2 |
51 |
- mirror://gentoo/gentoo-artwork-0.4.2.tar.bz2 |
52 |
+ mirror://gentoo/gentoo-artwork-${PV}.tar.bz2 |
53 |
mirror://gentoo/gentoo-bubble-icons-${BI_VER}.tar.gz |
54 |
) |
55 |
!icons? ( |
56 |
@@ -28,36 +30,32 @@ SRC_URI="pixmaps? ( |
57 |
lilo? ( mirror://gentoo/gentoo-artwork-0.4.tar.bz2 ) |
58 |
) |
59 |
)" |
60 |
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Artwork" |
61 |
|
62 |
-KEYWORDS="~alpha amd64 ~mips ppc ppc64 sparc x86" |
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
-IUSE="kde offensive +icons +pixmaps +grub lilo" |
66 |
+KEYWORDS="~alpha amd64 ~mips ppc ppc64 sparc x86" |
67 |
+IUSE="+grub +icons kde lilo offensive +pixmaps" |
68 |
RESTRICT="binchecks strip" |
69 |
|
70 |
-DEPEND="" |
71 |
-RDEPEND="${DEPEND}" |
72 |
- |
73 |
src_unpack() { |
74 |
- mkdir -p "${WORKDIR}"/${PN}-0.2 |
75 |
+ mkdir -p "${WORKDIR}"/${PN}-0.2 || die |
76 |
if use pixmaps || use icons || use kde || use grub; then |
77 |
unpack ${PN}-0.2.tar.bz2 |
78 |
fi |
79 |
# rename unpacked dir so that updated files get overwritten |
80 |
- mv "${WORKDIR}"/${PN}-0.2 "${WORKDIR}"/${PN}-0.3 |
81 |
+ mv "${WORKDIR}"/${PN}-0.2 "${WORKDIR}"/${PN}-0.3 || die |
82 |
if use pixmaps || use icons; then |
83 |
unpack gentoo-artwork-0.3.tar.bz2 |
84 |
fi |
85 |
- mv "${WORKDIR}"/${PN}-0.3 "${WORKDIR}"/${PN}-0.4 |
86 |
+ mv "${WORKDIR}"/${PN}-0.3 "${WORKDIR}"/${PN}-0.4 || die |
87 |
if use pixmaps || use icons || use lilo; then |
88 |
unpack ${PN}-0.4.tar.bz2 |
89 |
fi |
90 |
- mv "${WORKDIR}"/${PN}-0.4 "${WORKDIR}"/${PN}-0.4.1 |
91 |
+ mv "${WORKDIR}"/${PN}-0.4 "${WORKDIR}"/${PN}-0.4.1 || die |
92 |
if use pixmaps; then |
93 |
unpack ${PN}-0.4.1.tar.bz2 |
94 |
fi |
95 |
- mv "${WORKDIR}"/${PN}-0.4.1 "${WORKDIR}"/${PN}-0.4.2 |
96 |
+ mv "${WORKDIR}"/${PN}-0.4.1 "${WORKDIR}"/${PN}-0.4.2 || die |
97 |
if use pixmaps || use icons; then |
98 |
unpack ${PN}-0.4.2.tar.bz2 |
99 |
fi |
100 |
@@ -65,47 +63,47 @@ src_unpack() { |
101 |
if use icons ; then |
102 |
# Gentoo Bubble Icons |
103 |
unpack gentoo-bubble-icons-${BI_VER}.tar.gz |
104 |
- cd "${WORKDIR}"/${PN}-0.4.2/icons/gentoo |
105 |
+ cd "${WORKDIR}"/${PN}-0.4.2/icons/gentoo || die |
106 |
|
107 |
- cp "${FILESDIR}"/index.theme . |
108 |
+ cp "${FILESDIR}"/index.theme . || die |
109 |
|
110 |
- mv l33t/l33t_BRO_lynx.png l33t/l33t_BRO_lynx2.png |
111 |
- mv "${WORKDIR}"/gentoo-bubble-icons/README bubble-icons-README |
112 |
+ mv l33t/l33t_BRO_lynx.png l33t/l33t_BRO_lynx2.png || die |
113 |
+ mv "${WORKDIR}"/gentoo-bubble-icons/README bubble-icons-README || die |
114 |
find "${WORKDIR}"/gentoo-bubble-icons -name '*.png' \ |
115 |
- -exec mv "{}" l33t/ \; |
116 |
+ -exec mv "{}" l33t/ \; || die |
117 |
|
118 |
# fix errors in filenames |
119 |
- mv l33t/l33t_nero.png l33t/l33t_UTI_nero.png |
120 |
+ mv l33t/l33t_nero.png l33t/l33t_UTI_nero.png || die |
121 |
# fix permissions (bug #213385) |
122 |
fperms 644 l33t/l33t_MAI_mutt.png |
123 |
|
124 |
# remove misspelled files |
125 |
- rm "${S}"/icons/gentoo/{32x32,48x48,64x64}/slypheed.png |
126 |
+ rm "${S}"/icons/gentoo/{32x32,48x48,64x64}/slypheed.png || die |
127 |
fi |
128 |
|
129 |
if use pixmaps ; then |
130 |
# bug #132271 |
131 |
- rm "${S}"/pixmaps/1024x768/gentoo-blue-leaf-1024x768.jpg |
132 |
- rm "${S}"/pixmaps/1024x768/gentoo-blue-ute-1024x768.jpg |
133 |
+ rm "${S}"/pixmaps/1024x768/gentoo-blue-leaf-1024x768.jpg || die |
134 |
+ rm "${S}"/pixmaps/1024x768/gentoo-blue-ute-1024x768.jpg || die |
135 |
|
136 |
# move images with wrong size to misc |
137 |
mv "${S}"/pixmaps/800x600/OpenSource_in_the_sun-1280x960.png \ |
138 |
- "${S}"/pixmaps/misc/OpenSource_in_the_sun-1280x960.png |
139 |
+ "${S}"/pixmaps/misc/OpenSource_in_the_sun-1280x960.png || die |
140 |
mv "${S}"/pixmaps/1024x768/Gentoo_2parts_1024x768.png \ |
141 |
- "${S}"/pixmaps/misc/Gentoo_2parts_1024x786.png |
142 |
+ "${S}"/pixmaps/misc/Gentoo_2parts_1024x786.png || die |
143 |
mv "${S}"/pixmaps/1024x768/Gentoo_transparant_1024x768.png \ |
144 |
- "${S}"/pixmaps/misc/Gentoo_transparant_960x768.png |
145 |
+ "${S}"/pixmaps/misc/Gentoo_transparant_960x768.png || die |
146 |
mv "${S}"/pixmaps/1280x1024/gentoo-freedom-1280x1024,jpg \ |
147 |
- "${S}"/pixmaps/misc/gentoo-freedom-1280x1012.jpg |
148 |
+ "${S}"/pixmaps/misc/gentoo-freedom-1280x1012.jpg || die |
149 |
mv "${S}"/pixmaps/1280x1024/gentoowired.jpg \ |
150 |
- "${S}"/pixmaps/misc/gentoowired-1280x960.jpg |
151 |
+ "${S}"/pixmaps/misc/gentoowired-1280x960.jpg || die |
152 |
mv "${S}"/pixmaps/1600x1200/gentoo-slip-1600x1200.jpg \ |
153 |
- "${S}"/pixmaps/misc/gentoo-slip-1200x1024.jpg |
154 |
+ "${S}"/pixmaps/misc/gentoo-slip-1200x1024.jpg || die |
155 |
fi |
156 |
|
157 |
if ! use offensive ; then |
158 |
for i in $(<"${FILESDIR}"/offensive_list) ; do |
159 |
- rm -f "${S}/${i}" |
160 |
+ rm "${S}/${i}" || die |
161 |
done |
162 |
fi |
163 |
} |
164 |
@@ -114,9 +112,9 @@ src_install() { |
165 |
if use pixmaps ; then |
166 |
# pixmaps |
167 |
dodir /usr/share/pixmaps/gentoo/ |
168 |
- cd "${S}"/pixmaps |
169 |
- cp -pPR . "${D}"/usr/share/pixmaps/gentoo/ |
170 |
- rm "${D}"/usr/share/pixmaps/gentoo/CREDITS |
171 |
+ cd "${S}"/pixmaps || die |
172 |
+ cp -pPR . "${D}"/usr/share/pixmaps/gentoo/ || die |
173 |
+ rm "${D}"/usr/share/pixmaps/gentoo/CREDITS || die |
174 |
dodoc "${S}"/pixmaps/CREDITS |
175 |
fi |
176 |
|
177 |
@@ -129,22 +127,20 @@ src_install() { |
178 |
if use icons ; then |
179 |
# Gentoo icons |
180 |
dodir /usr/share/icons/gentoo |
181 |
- cp -pR "${S}"/icons/gentoo/* "${D}"/usr/share/icons/gentoo/ |
182 |
+ cp -pR "${S}"/icons/gentoo/* "${D}"/usr/share/icons/gentoo/ || die |
183 |
fi |
184 |
|
185 |
if use grub ; then |
186 |
# grub splash images |
187 |
- dodir /usr/share/grub/splashimages |
188 |
insinto /usr/share/grub/splashimages |
189 |
doins "${S}"/grub/*.xpm.gz |
190 |
fi |
191 |
|
192 |
if use lilo ; then |
193 |
# lilo splash images |
194 |
- dodir /usr/share/lilo/splashimages |
195 |
insinto /usr/share/lilo/splashimages |
196 |
doins "${S}"/lilo/* |
197 |
- rm "${D}"/usr/share/lilo/splashimages/lilo.txt |
198 |
+ rm "${D}"/usr/share/lilo/splashimages/lilo.txt || die |
199 |
dodoc "${S}"/lilo/lilo.txt |
200 |
fi |
201 |
} |