wok-next view web-google-services/receipt @ rev 20737

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