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