Сравнение calculate-wallpapers-15 с calculate-wallpapers-17-r4

/var/lib/layman/calculate/media-gfx/calculate-wallpapers/calculate-wallpapers-17-r4.ebuild 2020-02-10 17:56:12.000000000 +0300
10 10
LICENSE="Apache-2.0"
11 11
SLOT="0"
12 12
KEYWORDS="amd64 x86"
13
VERSION_IUSE="CL11 CL12 CL13 CL14"
14
IUSE="+CL11 +CL12 +CL13 +CL14"
13
VERSION_IUSE="CL11 CL12 CL13 CL14 CL15"
14
IUSE="+CL11 +CL12 +CL13 +CL14 +CL15"
15 15

  
16 16
SRC_URI="
17
	ftp://ftp.calculate-linux.org/calculate/themes/wallpapers/wallpapers-15.tar.bz2
18
	http://mirror.yandex.ru/calculate/themes/wallpapers/wallpapers-15.tar.bz2
19
	ftp://ftp.calculate-linux.org/calculate/themes/wallpapers/wallpapers-14-r1.tar.bz2
20
	http://mirror.yandex.ru/calculate/themes/wallpapers/wallpapers-14-r1.tar.bz2
17
	https://mirror.calculate-linux.org/themes/calculate/wallpaper-17.jpg -> ${PF}.jpg
18
	https://mirror.yandex.ru/calculate/themes/calculate/wallpaper-17.jpg -> ${PF}.jpg
19
	CL15? (
20
		https://mirror.calculate-linux.org/themes/wallpapers/wallpapers-15.tar.bz2
21
		https://mirror.yandex.ru/calculate/themes/wallpapers/wallpapers-15.tar.bz2
22
	)
23
	CL14? (
24
		https://mirror.calculate-linux.org/themes/wallpapers/wallpapers-14-r1.tar.bz2
25
		https://mirror.yandex.ru/calculate/themes/wallpapers/wallpapers-14-r1.tar.bz2
26
	)
21 27
	CL11? (
22
		ftp://ftp.calculate-linux.org/calculate/themes/wallpapers/wallpapers-11.tar.bz2
23
		http://mirror.yandex.ru/calculate/themes/wallpapers/wallpapers-11.tar.bz2
28
		https://mirror.calculate-linux.org/themes/wallpapers/wallpapers-11.tar.bz2
29
		https://mirror.yandex.ru/calculate/themes/wallpapers/wallpapers-11.tar.bz2
24 30
	)
25 31
	CL12? (
26
		ftp://ftp.calculate-linux.org/calculate/themes/wallpapers/wallpapers-12.tar.bz2
27
		http://mirror.yandex.ru/calculate/themes/wallpapers/wallpapers-12.tar.bz2
32
		https://mirror.calculate-linux.org/themes/wallpapers/wallpapers-12.tar.bz2
33
		https://mirror.yandex.ru/calculate/themes/wallpapers/wallpapers-12.tar.bz2
28 34
	)
29 35
	CL13? (
30
		ftp://ftp.calculate-linux.org/calculate/themes/wallpapers/wallpapers-13.tar.bz2
31
		http://mirror.yandex.ru/calculate/themes/wallpapers/wallpapers-13.tar.bz2
36
		https://mirror.calculate-linux.org/themes/wallpapers/wallpapers-13.tar.bz2
37
		https://mirror.yandex.ru/calculate/themes/wallpapers/wallpapers-13.tar.bz2
32 38
	)
33 39
	"
34 40

  
35
RDEPEND="!media-gfx/calculate-cldx-themes
36
		!media-gfx/calculate-cld-themes
37
		!media-gfx/cld-themes
38
		!media-gfx/cldx-themes"
41
DEPEND="!<sys-apps/calculate-utils-3.5.2.6"
39 42

  
40
DEPEND="${RDEPEND}"
43
# need for templates
44
RDEPEND="${DEPEND}
45
	|| ( media-gfx/imagemagick
46
	media-gfx/graphicsmagick )"
47

  
48
S="${WORKDIR}"
41 49

  
42 50
src_install() {
43
	insinto /
44
	doins -r .
51
	insinto /usr/share/themes/Calculate/
52
	newins "${DISTDIR}"/${PF}.jpg wallpaper.jpg
45 53

  
54
	insinto /
46 55
	for useflag in $VERSION_IUSE
47 56
	do
48 57
		if use $useflag
......
52 61
			then
53 62
				mv usr/share/wallpapers/Calculate_Linux usr/share/wallpapers/Calculate_Linux_14
54 63
			fi
64
			if [[ $useflag == CL15 ]]
65
			then
66
				mv usr/share/wallpapers/Calculate_Linux usr/share/wallpapers/Calculate_Linux_15
67
			fi
55 68
			doins -r usr
56 69
		fi
57 70
	done
58 71
}
59

  
Спасибо!