wok view web-google-services/receipt @ rev 22016

updated tea (33.5.0 -> 48.0.1)
author Hans-G?nter Theisgen
date Sat Oct 19 17:03:26 2019 +0100 (2019-10-19)
parents 2d5953d1a452
children 535c806240cc
line source
1 # SliTaz package receipt.
3 PACKAGE="web-google-services"
4 VERSION="0.1"
5 CATEGORY="network"
6 SHORT_DESC="Google online services and Google online Office for your desktop."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
11 STUFF_DIR="lab.slitaz/5.0/pkg/web/google"
12 WGET_URL="${WEB_SITE}/$STUFF_DIR/$TARBALL"
13 TAGS="cloud google"
15 BUILD_DEPENDS="wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
21 # Build Tree.
22 mkdir -p $install/usr/share/applications
23 mkdir -p $install/usr/share/pixmaps
25 # Writing ".desktop" files.
26 # -------------------------
27 # The icons preserve the 'web-*' name for no future conflicts
28 # with other applications.
29 #
30 # >_ Google Admob
31 #
32 cat > $install/usr/share/applications/web-google-admob.desktop << EOT
33 [Desktop Entry]
34 Type=Application
35 Name=Google Admob
36 Comment=Monetize your apps intelligently.
37 Categories=Network;
38 Icon=web-google-admob
39 TryExec=browser
40 Exec=browser https://www.google.com/admob/
42 EOT
43 #
44 # >_ Google Adsense
45 #
46 cat > $install/usr/share/applications/web-google-adsense.desktop << EOT
47 [Desktop Entry]
48 Type=Application
49 Name=Google AdSense
50 Comment=Simple way to earn money by placing ads on your website.
51 Categories=Network;
52 Icon=web-google-adsense
53 TryExec=browser
54 Exec=browser https://www.google.com/adsense/
56 EOT
57 #
58 # >_ Google Adwords
59 #
60 cat > $install/usr/share/applications/web-google-adwords.desktop << EOT
61 [Desktop Entry]
62 Type=Application
63 Name=Google AdWords
64 Comment=Attract more customers, and pay only for results.
65 Categories=Network;
66 Icon=web-google-adwords
67 TryExec=browser
68 Exec=browser https://www.google.com/adwords/
70 EOT
71 #
72 # >_ Google Apps For Work
73 #
74 cat > $install/usr/share/applications/web-google-apps-work.desktop << EOT
75 [Desktop Entry]
76 Type=Application
77 Name=Google Apps For Work
78 Comment=Custom services for your company.
79 Categories=Network;
80 Icon=web-google-apps-work
81 TryExec=browser
82 Exec=browser https://apps.google.com/
84 EOT
85 #
86 # >_ Google Business
87 #
88 cat > $install/usr/share/applications/web-google-business.desktop << EOT
89 [Desktop Entry]
90 Type=Application
91 Name=Google Business
92 Comment=Let your company well positioned in Google.
93 Categories=Network;
94 Icon=web-google-business
95 TryExec=browser
96 Exec=browser https://www.google.com/business/
98 EOT
99 #
100 # >_ Google Developers
101 #
102 cat > $install/usr/share/applications/web-google-developers.desktop << EOT
103 [Desktop Entry]
104 Type=Application
105 Name=Google Developers
106 Comment=Explore APIs, SDKs, Docs, codes and support resources.
107 Categories=Development;
108 Icon=web-google-developers
109 TryExec=browser
110 Exec=browser https://developers.google.com/
112 EOT
113 #
114 # >_ Google Sites
115 #
116 cat > $install/usr/share/applications/web-google-sites.desktop << EOT
117 [Desktop Entry]
118 Type=Application
119 Name=Google Sites
120 Comment=Create websites and wikis.
121 Categories=Development;
122 Icon=web-google-sites
123 TryExec=browser
124 Exec=browser https://sites.google.com/
126 EOT
127 #
128 # >_ Google Photos
129 #
130 cat > $install/usr/share/applications/web-google-photos.desktop << EOT
131 [Desktop Entry]
132 Type=Application
133 Name=Google Photos
134 Comment=All your photos are backed up safely.
135 Categories=Graphics;
136 Icon=web-google-photos
137 TryExec=browser
138 Exec=browser https://photos.google.com/
140 EOT
141 #
142 # >_ Google News
143 #
144 cat > $install/usr/share/applications/web-google-news.desktop << EOT
145 [Desktop Entry]
146 Type=Application
147 Name=Google News
148 Comment=Search the news today.
149 Categories=Network;
150 Icon=web-google-news
151 TryExec=browser
152 Exec=browser https://news.google.com/
154 EOT
155 #
156 # >_ Google Search
157 #
158 cat > $install/usr/share/applications/web-google-search.desktop << EOT
159 [Desktop Entry]
160 Type=Application
161 Name=Google Search
162 Comment=Search billions of Web pages.
163 Categories=Network;
164 Icon=web-google-search
165 TryExec=browser
166 Exec=browser https://encrypted.google.com/
168 EOT
169 #
170 # >_ Google Calendar
171 #
172 cat > $install/usr/share/applications/web-google-calendar.desktop << EOT
173 [Desktop Entry]
174 Type=Application
175 Name=Google Calendar
176 Comment=Organize your schedule and share events with your friends.
177 Categories=Office;
178 Icon=web-google-calendar
179 TryExec=browser
180 Exec=browser https://www.google.com/calendar/
182 EOT
183 #
184 # >_ Google Cloud Print
185 #
186 cat > $install/usr/share/applications/web-google-cloud-print.desktop << EOT
187 [Desktop Entry]
188 Type=Application
189 Name=Google Cloud Print
190 Comment=Print documents and photos on any devices.
191 Categories=Office;
192 Icon=web-google-cloud-print
193 TryExec=browser
194 Exec=browser https://www.google.com/cloudprint/
196 EOT
197 #
198 # >_ Google Document
199 #
200 cat > $install/usr/share/applications/web-google-document.desktop << EOT
201 [Desktop Entry]
202 Type=Application
203 Name=Google Document
204 Comment=Open, edit and create documents.
205 Categories=Office;WordProcessor;
206 Icon=web-google-documents
207 TryExec=browser
208 Exec=browser https://docs.google.com/document/
210 EOT
211 #
212 # >_ Google Drawings
213 #
214 cat > $install/usr/share/applications/web-google-drawings.desktop << EOT
215 [Desktop Entry]
216 Type=Application
217 Name=Google Drawings
218 Comment=Create diagrams and flowcharts.
219 Categories=Office;
220 Icon=web-google-drawings
221 TryExec=browser
222 Exec=browser https://docs.google.com/drawings/
224 EOT
225 #
226 # >_ Google Forms
227 #
228 cat > $install/usr/share/applications/web-google-forms.desktop << EOT
229 [Desktop Entry]
230 Type=Application
231 Name=Google Forms
232 Comment=Open, create and edit forms.
233 Categories=Office;
234 Icon=web-google-forms
235 TryExec=browser
236 Exec=browser https://docs.google.com/forms/
238 EOT
239 #
240 # >_ Google Keep
241 #
242 cat > $install/usr/share/applications/web-google-keep.desktop << EOT
243 [Desktop Entry]
244 Type=Application
245 Name=Google Keep
246 Comment=Save what you are thinking.
247 Categories=Office;
248 Icon=web-google-keep
249 TryExec=browser
250 Exec=browser https://keep.google.com/
252 EOT
253 #
254 # >_ Google Presentation
255 #
256 cat > $install/usr/share/applications/web-google-presentation.desktop << EOT
257 [Desktop Entry]
258 Type=Application
259 Name=Google Presentation
260 Comment=Open, create and edit presentations.
261 Categories=Office;Presentation;
262 Icon=web-google-presentation
263 TryExec=browser
264 Exec=browser https://docs.google.com/presentation/
266 EOT
267 #
268 # >_ Google Sheets
269 #
270 cat > $install/usr/share/applications/web-google-sheets.desktop << EOT
271 [Desktop Entry]
272 Type=Application
273 Name=Google Sheets
274 Comment=Open, edit and create spreadsheets.
275 Categories=Office;Spreadsheet;
276 Icon=web-google-sheets
277 TryExec=browser
278 Exec=browser https://docs.google.com/spreadsheets/
280 EOT
281 #
282 # >_ Google Academic
283 #
284 cat > $install/usr/share/applications/web-google-academic.desktop << EOT
285 [Desktop Entry]
286 Type=Application
287 Name=Google Academic
288 Comment=Search for scholarly articles.
289 Categories=Education;
290 Icon=web-google-academic
291 TryExec=browser
292 Exec=browser https://scholar.google.com/
294 EOT
295 #
296 # >_ Google Books
297 #
298 cat > $install/usr/share/applications/web-google-books.desktop << EOT
299 [Desktop Entry]
300 Type=Application
301 Name=Google Books
302 Comment=Search for full texts of books.
303 Categories=Education;
304 Icon=web-google-books
305 TryExec=browser
306 Exec=browser https://books.google.com/
308 EOT
309 #
310 # >_ Google Blogger
311 #
312 cat > $install/usr/share/applications/web-google-blogger.desktop << EOT
313 [Desktop Entry]
314 Type=Application
315 Name=Google Blogger
316 Comment=Share your life online in a blog. Is fast, easy and free!
317 Categories=Network;
318 Icon=web-google-blogger
319 TryExec=browser
320 Exec=browser https://www.blogger.com/start
322 EOT
323 #
324 # >_ Google Groups
325 #
326 cat > $install/usr/share/applications/web-google-groups.desktop << EOT
327 [Desktop Entry]
328 Type=Application
329 Name=Google Groups
330 Comment=Create email lists and discussion groups.
331 Categories=Network;
332 Icon=web-google-groups
333 TryExec=browser
334 Exec=browser https://groups.google.com/
336 EOT
337 #
338 # >_ Google Plus
339 #
340 cat > $install/usr/share/applications/web-google-plus.desktop << EOT
341 [Desktop Entry]
342 Type=Application
343 Name=Google Plus
344 Comment=Share your moments to the world.
345 Categories=Network;
346 Icon=web-google-plus
347 TryExec=browser
348 Exec=browser https://plus.google.com/
350 EOT
351 #
352 # >_ Google Maps
353 #
354 cat > $install/usr/share/applications/web-google-maps.desktop << EOT
355 [Desktop Entry]
356 Type=Application
357 Name=Google Maps
358 Comment=Desktop web mapping service developed by Google.
359 Categories=Graphics;Network;
360 Icon=web-google-maps
361 TryExec=browser
362 Exec=browser https://maps.google.com/
364 EOT
365 #
366 # >_ Google Panoramio
367 #
368 cat > $install/usr/share/applications/web-google-panoramio.desktop << EOT
369 [Desktop Entry]
370 Type=Application
371 Name=Google Panoramio
372 Comment=Discover the world through photos.
373 Categories=Graphics;Network;
374 Icon=web-google-panoramio
375 TryExec=browser
376 Exec=browser https://www.panoramio.com
378 EOT
379 #
380 # >_ Google Trends
381 #
382 cat > $install/usr/share/applications/web-google-trends.desktop << EOT
383 [Desktop Entry]
384 Type=Application
385 Name=Google Trends
386 Comment=Google Trends is a public web facility of Google Inc.
387 Categories=Network;
388 Icon=web-google-trends
389 TryExec=browser
390 Exec=browser https://www.google.com/trends/
392 EOT
393 #
394 # >_ Google Youtube Desktop
395 #
396 cat > $install/usr/share/applications/web-google-youtube.desktop << EOT
397 [Desktop Entry]
398 Type=Application
399 Name=YouTube Desktop
400 Comment=YouTube allow discover and share online videos.
401 Categories=AudioVideo;Audio;Video;
402 Icon=web-google-youtube
403 TryExec=browser
404 Exec=browser "https://www.youtube.com/?app=desktop"
406 EOT
407 #
408 # >_ Google Youtube TV
409 #
410 cat > $install/usr/share/applications/web-google-youtube-tv.desktop << EOT
411 [Desktop Entry]
412 Type=Application
413 Name=YouTube TV
414 Comment=Youtube TV (Best viewed with Firefox).
415 Categories=AudioVideo;Audio;Video;Player;TV;
416 Icon=web-google-youtube
417 TryExec=browser
418 Exec=browser "https://www.youtube.com/?app=tv"
420 EOT
421 #
422 # >_ Google Bookmarks
423 #
424 cat > $install/usr/share/applications/web-google-bookmarks.desktop << EOT
425 [Desktop Entry]
426 Type=Application
427 Name=Google Bookmarks
428 Comment=Access your bookmarks on the web.
429 Categories=Network;Utility;
430 Icon=web-google-bookmarks
431 TryExec=browser
432 Exec=browser https://www.google.com.br/bookmarks/
434 EOT
435 #
436 # >_ Google Translate
437 #
438 cat > $install/usr/share/applications/web-google-translate.desktop << EOT
439 [Desktop Entry]
440 Type=Application
441 Name=Google Translate
442 Comment=Translate texts, web pages and files in 50 languages.
443 Categories=Utility;
444 Icon=web-google-translate
445 TryExec=browser
446 Exec=browser https://translate.google.com/
448 EOT
450 cp -a $src/icons/* $install/usr/share/pixmaps
452 }
454 # Rules to gen a SliTaz package suitable for Tazpkg.
455 genpkg_rules()
456 {
457 cp -a $install/* $fs
458 }
460 post_install()
461 {
462 [ "$1" ] && notify-send -u normal -t 5000 -i application-x-tazpkg "Tazpkg - Install" "The $PACKAGE is installed."
463 }
465 post_remove()
466 {
467 [ "$1" ] && notify-send -u normal -t 5000 -i application-x-tazpkg "Tazpkg - Remove" "The $PACKAGE was removed."
468 }