summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc0fa82b6694b1e146d76b9a22d7e22aaa07ae74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# Maintainer: trougnouf (Benoit Brummer) <trougnouf at gmail dot com>
# Last images added on 2018-05-02

pkgname="trougnouf-backgrounds"
pkgver=1.2
pkgrel=5
pkgdesc='Wallpapers created by User:Trougnouf, with gnome integration and transitions built-in'
url='https://commons.wikimedia.org/wiki/User:Trougnouf'
_url='https://commons.wikimedia.org/wiki/Special:Redirect/file/'
makedepends=()
license=('CCPL')
arch=('any')
_images=('Inside_an_abandoned_military_building_in_Fort_de_la_Chartreuse,_Liege,_Belgium_(DSCF3343).jpg'
	'Pears_covered_in_snow_at_Marché_de_Boitsfort_(Belgium).jpg'
	'Fagne_Tirifaye_with_the_Hill_river_in_Waimes,_Belgium_(DSCF3679).jpg'
	'View_through_the_shattered_glass_of_a_door_in_the_SNCB_B22490_type-K3_carriage,_looking_at_a_yellow_H._Weyhausen_KG_backhoe_loader_in_As,_Belgium_(DSCF3088-hdr).jpg'
	'Pipes_in_the_water_treatment_plant_of_an_abandoned_steel_factory_in_Oupeye,_Belgium_(DSCF3276).jpg'
	'Water_treatment_plant_in_an_abandoned_steel_factory_in_Oupeye,_Belgium_(DSCF3285).jpg'
	'A_tree_South_of_Doel,_Belgium_(DSCF3811).jpg'
	'Street_art_in_the_tunnel_at_Rue_des_Tanneurs_under_the_railway_(Brussels,_Belgium).jpg'
	'Tunnel_Belliard,_coming_out_on_Rue_de_la_Loi.jpg'
	'Container_cranes_at_the_MPET-_MSC_PSA_European_Terminal_in_Port_of_Antwerp_(Kieldrecht,_Belgium)_during_the_sunset_civil_twilight_(DSCF3901).jpg'
	'Parc_Tenreuken_looking_South_from_the_West_side_during_the_sunset_civil_twilight,_Auderghem,_Belgium_(DSCF3745,DSCF3746-b1).jpg'
	'Beginning_of_Grande_Randonnée_en_Haute_Ardennes,_BE.jpg'
	'Antwerpen-Centraal_railway_station_platform_21,_Belgium_(DSCF4760).jpg'
	)

source=("${_images[@]/#/${_url}}")
	
sha256sums=('816c37d71c5b3594aec28be8fe81699441007d9bbd1f240137f56691d2af51ad'
	'0381dac0c5cfdb7d3068d9758222708fcc281f4b45d115d93ed524894d723ccd'
	'34e13f84a99c20b7ba7280db25d6993675b17f953a327c144e57ad04abefd08f'
	'4890081d1a7cdacb036da85e54f900c5effc40741c2a76816ad316b41931ad2b'
	'ed2e76aedadc5e776fe8c350f1120cc3879d1888b33c9a898d85133dcc8165c9'
	'631f15689afb347757dedf3f9cc9e8b4dcb152cfffd9dbcb31d78d7955c5949e'
	'f5e476019deb0af38230da66a7749527001cb32f1f101966ab60ae082a38870b'
	'cf08f4598bd569eb8df860a83fd44110f5a25282e508732e924de1c3fab581c2'
	'a53cf0da1c9ff59bf7fff014a880154b154140ee5bc1e46fe1d099c7d6f36423'
	'21ca6228fa574de64975fb48306d59e98f345fcd75a2c5571d89216fa3ba8aa6'
	'f8fc6e64a19fab1aa6a7c676ef7eb6978abed3a115e5d3a73bd2a6a583195651'
	'decdcae46f94604ae65c0cc212e6eddd3eba16ec57613755afe5c75ab833cc1c'
	'3411929c2eb43edbc190dbb694f32b8257b13f953278f39e54a70178ca035e1c')

package() {
	mkdir -p "${pkgdir}/usr/share/backgrounds/trougnouf/"
	mkdir -p "${pkgdir}/usr/share/gnome-background-properties"
	cp ${srcdir}/*.jpg "${pkgdir}/usr/share/backgrounds/trougnouf/"



	echo "<background>
  <starttime>
    <year>2011</year>
    <month>11</month>
    <day>24</day>
    <hour>10</hour>
    <minute>16</minute>
    <second>00</second>
  </starttime>

<!-- This animation will start at 10h16. -->

<!-- 10h16 to 12h31 = 135 minutes-->
<static>
<duration>8100</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[0]}</file>
</static>

<!-- 12h31 to 13h07 = 36 minutes -->
<static>
<duration>2160</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[1]}</file>
</static>

<!-- 13h07 to 13h50 = 43 minutes -->
<static>
<duration>2580</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[2]}</file>
</static>

<!-- 13h50 to 14h23 = 33 minutes -->
<static>
<duration>1980</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[3]}</file>
</static>

<!-- 14h23 to 14h56 = 33 minutes -->
<static>
<duration>1980</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[4]}</file>
</static>

<!-- 14h56 to 15h30 = 34 minutes -->
<static>
<duration>2040</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[5]}</file>
</static>

<!-- alt: 15h36: Parc_Seny_on_a_snowy_day,_entering_from_Rue_Charles_Lemaire_(Auderghem,_Belgium)_-_road.jpg -->

<!-- 15h30 - 16h35 = 65 minutes -->
<static>
<duration>3900</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[6]}</file>
</static>

<!-- alt: 16h44: View through a broken window from a room in Sanatorium du Basil, Stoumont, Belgium (DSCF3542,DSCF3545).jpg -->

<!-- 16h35 to 17h16 = 41 minutes -->
<static>
<duration>2460</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[7]}</file>
</static>

<!-- 17h16 to 17h48 = 32 minutes -->
<static>
<duration>1920</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[8]}</file>
</static>

<!-- 17h48 to 18h06 = 18 minutes -->
<static>
<duration>1080</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[9]}</file>
</static>

<!-- 18h06 to 19h55 = 109 minutes -->
<static>
<duration>6540</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[10]}</file>
</static>

<!-- 19h55 to 22h46 = 171 minutes -->
<static>
<duration>10260</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[11]}</file>
</static>

<!-- 22h46 to 10h16 = 690 minutes -->
<static>
<duration>41400</duration>
<file>/usr/share/backgrounds/trougnouf/${_images[12]}</file>
</static>
</background>" > "${pkgdir}/usr/share/backgrounds/trougnouf/trougnouf-timed.xml"



echo "<?xml version=\"1.0\"?>
<!DOCTYPE wallpapers SYSTEM \"gnome-wp-list.dtd\">
<wallpapers>
  <wallpaper deleted=\"false\">
    <name>trougnouf-backgrounds</name>
    <filename>/usr/share/backgrounds/trougnouf/trougnouf-timed.xml</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[0]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[0]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[1]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[1]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[2]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[2]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[3]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[3]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[4]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[4]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[5]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[5]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[6]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[6]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[7]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[7]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[8]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[8]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[9]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[9]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[10]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[10]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[11]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[11]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper deleted=\"false\">
    <name>${_images[12]}</name>
    <filename>/usr/share/backgrounds/trougnouf/${_images[12]}</filename>
    <options>zoom</options>
    <pcolor>#ffffff</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
</wallpapers>" > "${pkgdir}/usr/share/gnome-background-properties/trougnouf-backgrounds.xml"
}