wok annotate web-google-services/receipt @ rev 25037

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