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

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