wok-6.x diff web-google-services/receipt @ rev 19044

Add: Google online services and Google Office.
author Leonardo Laporte <hackdorte@sapo.pt>
date Sun Apr 17 10:18:44 2016 -0300 (2016-04-17)
parents
children 15e6c6910ee3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/web-google-services/receipt	Sun Apr 17 10:18:44 2016 -0300
     1.3 @@ -0,0 +1,468 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="web-google-services"
     1.7 +VERSION="0.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Google online services and Google online Office for your desktop."
    1.10 +MAINTAINER="hackdorte@sapo.pt"
    1.11 +LICENSE="BSD"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://people.slitaz.org/~leonardolaporte"
    1.14 +STUFF_DIR="lab.slitaz/5.0/pkg/web/google"
    1.15 +WGET_URL="${WEB_SITE}/$STUFF_DIR/$TARBALL"
    1.16 +TAGS="cloud google"
    1.17 +
    1.18 +BUILD_DEPENDS="wget"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +
    1.24 +# Build Tree.
    1.25 +  mkdir -p $install/usr/share/applications
    1.26 +  mkdir -p $install/usr/share/pixmaps
    1.27 +
    1.28 +# Writing ".desktop" files.
    1.29 +# -------------------------
    1.30 +# The icons preserve the 'web-*' name for no future conflicts
    1.31 +# with other applications.
    1.32 +#
    1.33 +# >_ Google Admob
    1.34 +#
    1.35 +cat > $install/usr/share/applications/web-google-admob.desktop << EOT
    1.36 +[Desktop Entry]
    1.37 +Type=Application
    1.38 +Name=Google Admob
    1.39 +Comment=Monetize your apps intelligently.
    1.40 +Categories=Network;
    1.41 +Icon=web-google-admob
    1.42 +TryExec=browser
    1.43 +Exec=browser https://www.google.com/admob/
    1.44 +
    1.45 +EOT
    1.46 +#
    1.47 +# >_ Google Adsense
    1.48 +#
    1.49 +cat > $install/usr/share/applications/web-google-adsense.desktop << EOT
    1.50 +[Desktop Entry]
    1.51 +Type=Application
    1.52 +Name=Google AdSense
    1.53 +Comment=Simple way to earn money by placing ads on your website.
    1.54 +Categories=Network;
    1.55 +Icon=web-google-adsense
    1.56 +TryExec=browser
    1.57 +Exec=browser https://www.google.com/adsense/
    1.58 +
    1.59 +EOT
    1.60 +#
    1.61 +# >_ Google Adwords
    1.62 +#
    1.63 +cat > $install/usr/share/applications/web-google-adwords.desktop << EOT
    1.64 +[Desktop Entry]
    1.65 +Type=Application
    1.66 +Name=Google AdWords
    1.67 +Comment=Attract more customers, and pay only for results.
    1.68 +Categories=Network;
    1.69 +Icon=web-google-adwords
    1.70 +TryExec=browser
    1.71 +Exec=browser https://www.google.com/adwords/
    1.72 +
    1.73 +EOT
    1.74 +#
    1.75 +# >_ Google Apps For Work
    1.76 +#
    1.77 +cat > $install/usr/share/applications/web-google-apps-work.desktop << EOT
    1.78 +[Desktop Entry]
    1.79 +Type=Application
    1.80 +Name=Google Apps For Work
    1.81 +Comment=Custom services for your company.
    1.82 +Categories=Network;
    1.83 +Icon=web-google-apps-work
    1.84 +TryExec=browser
    1.85 +Exec=browser https://apps.google.com/
    1.86 +
    1.87 +EOT
    1.88 +#
    1.89 +# >_ Google Business
    1.90 +#
    1.91 +cat > $install/usr/share/applications/web-google-business.desktop << EOT
    1.92 +[Desktop Entry]
    1.93 +Type=Application
    1.94 +Name=Google Business
    1.95 +Comment=Let your company well positioned in Google.
    1.96 +Categories=Network;
    1.97 +Icon=web-google-business
    1.98 +TryExec=browser
    1.99 +Exec=browser https://www.google.com/business/
   1.100 +
   1.101 +EOT
   1.102 +#
   1.103 +# >_ Google Developers
   1.104 +#
   1.105 +cat > $install/usr/share/applications/web-google-developers.desktop << EOT
   1.106 +[Desktop Entry]
   1.107 +Type=Application
   1.108 +Name=Google Developers
   1.109 +Comment=Explore APIs, SDKs, Docs, codes and support resources.
   1.110 +Categories=Development;
   1.111 +Icon=web-google-developers
   1.112 +TryExec=browser
   1.113 +Exec=browser https://developers.google.com/
   1.114 +
   1.115 +EOT
   1.116 +#
   1.117 +# >_ Google Sites
   1.118 +#
   1.119 +cat > $install/usr/share/applications/web-google-sites.desktop << EOT
   1.120 +[Desktop Entry]
   1.121 +Type=Application
   1.122 +Name=Google Sites
   1.123 +Comment=Create websites and wikis.
   1.124 +Categories=Development;
   1.125 +Icon=web-google-sites
   1.126 +TryExec=browser
   1.127 +Exec=browser https://sites.google.com/
   1.128 +
   1.129 +EOT
   1.130 +#
   1.131 +# >_ Google Photos
   1.132 +#
   1.133 +cat > $install/usr/share/applications/web-google-photos.desktop << EOT
   1.134 +[Desktop Entry]
   1.135 +Type=Application
   1.136 +Name=Google Photos
   1.137 +Comment=All your photos are backed up safely.
   1.138 +Categories=Graphics;
   1.139 +Icon=web-google-photos
   1.140 +TryExec=browser
   1.141 +Exec=browser https://photos.google.com/
   1.142 +
   1.143 +EOT
   1.144 +#
   1.145 +# >_ Google News
   1.146 +#
   1.147 +cat > $install/usr/share/applications/web-google-news.desktop << EOT
   1.148 +[Desktop Entry]
   1.149 +Type=Application
   1.150 +Name=Google News
   1.151 +Comment=Search the news today.
   1.152 +Categories=Network;
   1.153 +Icon=web-google-news
   1.154 +TryExec=browser
   1.155 +Exec=browser https://news.google.com/
   1.156 +
   1.157 +EOT
   1.158 +#
   1.159 +# >_ Google Search
   1.160 +#
   1.161 +cat > $install/usr/share/applications/web-google-search.desktop << EOT
   1.162 +[Desktop Entry]
   1.163 +Type=Application
   1.164 +Name=Google Search
   1.165 +Comment=Search billions of Web pages.
   1.166 +Categories=Network;
   1.167 +Icon=web-google-search
   1.168 +TryExec=browser
   1.169 +Exec=browser https://encrypted.google.com/
   1.170 +
   1.171 +EOT
   1.172 +#
   1.173 +# >_ Google Calendar
   1.174 +#
   1.175 +cat > $install/usr/share/applications/web-google-calendar.desktop << EOT
   1.176 +[Desktop Entry]
   1.177 +Type=Application
   1.178 +Name=Google Calendar
   1.179 +Comment=Organize your schedule and share events with your friends.
   1.180 +Categories=Office;
   1.181 +Icon=web-google-calendar
   1.182 +TryExec=browser
   1.183 +Exec=browser https://www.google.com/calendar/
   1.184 +
   1.185 +EOT
   1.186 +#
   1.187 +# >_ Google Cloud Print
   1.188 +#
   1.189 +cat > $install/usr/share/applications/web-google-cloud-print.desktop << EOT
   1.190 +[Desktop Entry]
   1.191 +Type=Application
   1.192 +Name=Google Cloud Print
   1.193 +Comment=Print documents and photos on any devices.
   1.194 +Categories=Office;
   1.195 +Icon=web-google-cloud-print
   1.196 +TryExec=browser
   1.197 +Exec=browser https://www.google.com/cloudprint/
   1.198 +
   1.199 +EOT
   1.200 +#
   1.201 +# >_ Google Document
   1.202 +#
   1.203 +cat > $install/usr/share/applications/web-google-document.desktop << EOT
   1.204 +[Desktop Entry]
   1.205 +Type=Application
   1.206 +Name=Google Document
   1.207 +Comment=Open, edit and create documents.
   1.208 +Categories=Office;WordProcessor;
   1.209 +Icon=web-google-documents
   1.210 +TryExec=browser
   1.211 +Exec=browser https://docs.google.com/document/
   1.212 +
   1.213 +EOT
   1.214 +#
   1.215 +# >_ Google Drawings
   1.216 +#
   1.217 +cat > $install/usr/share/applications/web-google-drawings.desktop << EOT
   1.218 +[Desktop Entry]
   1.219 +Type=Application
   1.220 +Name=Google Drawings
   1.221 +Comment=Create diagrams and flowcharts.
   1.222 +Categories=Office;
   1.223 +Icon=web-google-drawings
   1.224 +TryExec=browser
   1.225 +Exec=browser https://docs.google.com/drawings/
   1.226 +
   1.227 +EOT
   1.228 +#
   1.229 +# >_ Google Forms
   1.230 +#
   1.231 +cat > $install/usr/share/applications/web-google-forms.desktop << EOT
   1.232 +[Desktop Entry]
   1.233 +Type=Application
   1.234 +Name=Google Forms
   1.235 +Comment=Open, create and edit forms.
   1.236 +Categories=Office;
   1.237 +Icon=web-google-forms
   1.238 +TryExec=browser
   1.239 +Exec=browser https://docs.google.com/forms/
   1.240 +
   1.241 +EOT
   1.242 +#
   1.243 +# >_ Google Keep
   1.244 +#
   1.245 +cat > $install/usr/share/applications/web-google-keep.desktop << EOT
   1.246 +[Desktop Entry]
   1.247 +Type=Application
   1.248 +Name=Google Keep
   1.249 +Comment=Save what you are thinking.
   1.250 +Categories=Office;
   1.251 +Icon=web-google-keep
   1.252 +TryExec=browser
   1.253 +Exec=browser https://keep.google.com/
   1.254 +
   1.255 +EOT
   1.256 +#
   1.257 +# >_ Google Presentation
   1.258 +#
   1.259 +cat > $install/usr/share/applications/web-google-presentation.desktop << EOT
   1.260 +[Desktop Entry]
   1.261 +Type=Application
   1.262 +Name=Google Presentation
   1.263 +Comment=Open, create and edit presentations.
   1.264 +Categories=Office;Presentation;
   1.265 +Icon=web-google-presentation
   1.266 +TryExec=browser
   1.267 +Exec=browser https://docs.google.com/presentation/
   1.268 +
   1.269 +EOT
   1.270 +#
   1.271 +# >_ Google Sheets
   1.272 +#
   1.273 +cat > $install/usr/share/applications/web-google-sheets.desktop << EOT
   1.274 +[Desktop Entry]
   1.275 +Type=Application
   1.276 +Name=Google Sheets
   1.277 +Comment=Open, edit and create spreadsheets.
   1.278 +Categories=Office;Spreadsheet;
   1.279 +Icon=web-google-sheets
   1.280 +TryExec=browser
   1.281 +Exec=browser https://docs.google.com/spreadsheets/
   1.282 +
   1.283 +EOT
   1.284 +#
   1.285 +# >_ Google Academic
   1.286 +#
   1.287 +cat > $install/usr/share/applications/web-google-academic.desktop << EOT
   1.288 +[Desktop Entry]
   1.289 +Type=Application
   1.290 +Name=Google Academic
   1.291 +Comment=Search for scholarly articles.
   1.292 +Categories=Education;
   1.293 +Icon=web-google-academic
   1.294 +TryExec=browser
   1.295 +Exec=browser https://scholar.google.com/
   1.296 +
   1.297 +EOT
   1.298 +#
   1.299 +# >_ Google Books
   1.300 +#
   1.301 +cat > $install/usr/share/applications/web-google-books.desktop << EOT
   1.302 +[Desktop Entry]
   1.303 +Type=Application
   1.304 +Name=Google Books
   1.305 +Comment=Search for full texts of books.
   1.306 +Categories=Education;
   1.307 +Icon=web-google-books
   1.308 +TryExec=browser
   1.309 +Exec=browser https://books.google.com/
   1.310 +
   1.311 +EOT
   1.312 +#
   1.313 +# >_ Google Blogger
   1.314 +#
   1.315 +cat > $install/usr/share/applications/web-google-blogger.desktop << EOT
   1.316 +[Desktop Entry]
   1.317 +Type=Application
   1.318 +Name=Google Blogger
   1.319 +Comment=Share your life online in a blog. Is fast, easy and free!
   1.320 +Categories=Network;
   1.321 +Icon=web-google-blogger
   1.322 +TryExec=browser
   1.323 +Exec=browser https://www.blogger.com/start
   1.324 +
   1.325 +EOT
   1.326 +#
   1.327 +# >_ Google Groups
   1.328 +#
   1.329 +cat > $install/usr/share/applications/web-google-groups.desktop << EOT
   1.330 +[Desktop Entry]
   1.331 +Type=Application
   1.332 +Name=Google Groups
   1.333 +Comment=Create email lists and discussion groups.
   1.334 +Categories=Network;
   1.335 +Icon=web-google-groups
   1.336 +TryExec=browser
   1.337 +Exec=browser https://groups.google.com/
   1.338 +
   1.339 +EOT
   1.340 +#
   1.341 +# >_ Google Plus
   1.342 +#
   1.343 +cat > $install/usr/share/applications/web-google-plus.desktop << EOT
   1.344 +[Desktop Entry]
   1.345 +Type=Application
   1.346 +Name=Google Plus
   1.347 +Comment=Share your moments to the world.
   1.348 +Categories=Network;
   1.349 +Icon=web-google-plus
   1.350 +TryExec=browser
   1.351 +Exec=browser https://plus.google.com/
   1.352 +
   1.353 +EOT
   1.354 +#
   1.355 +# >_ Google Maps
   1.356 +#
   1.357 +cat > $install/usr/share/applications/web-google-maps.desktop << EOT
   1.358 +[Desktop Entry]
   1.359 +Type=Application
   1.360 +Name=Google Maps
   1.361 +Comment=Desktop web mapping service developed by Google.
   1.362 +Categories=Graphics;Network;
   1.363 +Icon=web-google-maps
   1.364 +TryExec=browser
   1.365 +Exec=browser https://maps.google.com/
   1.366 +
   1.367 +EOT
   1.368 +#
   1.369 +# >_ Google Panoramio
   1.370 +#
   1.371 +cat > $install/usr/share/applications/web-google-panoramio.desktop << EOT
   1.372 +[Desktop Entry]
   1.373 +Type=Application
   1.374 +Name=Google Panoramio
   1.375 +Comment=Discover the world through photos.
   1.376 +Categories=Graphics;Network;
   1.377 +Icon=web-google-panoramio
   1.378 +TryExec=browser
   1.379 +Exec=browser https://www.panoramio.com
   1.380 +
   1.381 +EOT
   1.382 +#
   1.383 +# >_ Google Trends
   1.384 +#
   1.385 +cat > $install/usr/share/applications/web-google-trends.desktop << EOT
   1.386 +[Desktop Entry]
   1.387 +Type=Application
   1.388 +Name=Google Trends
   1.389 +Comment=Google Trends is a public web facility of Google Inc.
   1.390 +Categories=Network;
   1.391 +Icon=web-google-trends
   1.392 +TryExec=browser
   1.393 +Exec=browser https://www.google.com/trends/
   1.394 +
   1.395 +EOT
   1.396 +#
   1.397 +# >_ Google Youtube Desktop
   1.398 +#
   1.399 +cat > $install/usr/share/applications/web-google-youtube.desktop << EOT
   1.400 +[Desktop Entry]
   1.401 +Type=Application
   1.402 +Name=YouTube Desktop
   1.403 +Comment=YouTube allow discover and share online videos.
   1.404 +Categories=AudioVideo;Audio;Video;
   1.405 +Icon=web-google-youtube
   1.406 +TryExec=browser
   1.407 +Exec=browser "https://www.youtube.com/?app=desktop"
   1.408 +
   1.409 +EOT
   1.410 +#
   1.411 +# >_ Google Youtube TV
   1.412 +#
   1.413 +cat > $install/usr/share/applications/web-google-youtube-tv.desktop << EOT
   1.414 +[Desktop Entry]
   1.415 +Type=Application
   1.416 +Name=YouTube TV
   1.417 +Comment=Youtube TV (Best viewed with Firefox).
   1.418 +Categories=AudioVideo;Audio;Video;Player;TV;
   1.419 +Icon=web-google-youtube
   1.420 +TryExec=browser
   1.421 +Exec=browser "https://www.youtube.com/?app=tv"
   1.422 +
   1.423 +EOT
   1.424 +#
   1.425 +# >_ Google Bookmarks
   1.426 +#
   1.427 +cat > $install/usr/share/applications/web-google-bookmarks.desktop << EOT
   1.428 +[Desktop Entry]
   1.429 +Type=Application
   1.430 +Name=Google Bookmarks
   1.431 +Comment=Access your bookmarks on the web.
   1.432 +Categories=Network;Utility;
   1.433 +Icon=web-google-bookmarks
   1.434 +TryExec=browser
   1.435 +Exec=browser https://www.google.com.br/bookmarks/
   1.436 +
   1.437 +EOT
   1.438 +#
   1.439 +# >_ Google Translate
   1.440 +#
   1.441 +cat > $install/usr/share/applications/web-google-translate.desktop << EOT
   1.442 +[Desktop Entry]
   1.443 +Type=Application
   1.444 +Name=Google Translate
   1.445 +Comment=Translate texts, web pages and files in 50 languages.
   1.446 +Categories=Utility;
   1.447 +Icon=web-google-translate
   1.448 +TryExec=browser
   1.449 +Exec=browser https://translate.google.com/
   1.450 +
   1.451 +EOT
   1.452 +
   1.453 +cp -a $src/icons/* $install/usr/share/pixmaps
   1.454 +
   1.455 +}
   1.456 +
   1.457 +# Rules to gen a SliTaz package suitable for Tazpkg.
   1.458 +genpkg_rules()
   1.459 +{
   1.460 +  cp -a $install/* $fs
   1.461 +}
   1.462 +
   1.463 +post_install()
   1.464 +{
   1.465 +  notify-send -u normal -t 5000 -i application-x-tazpkg  "Tazpkg - Install" "The $PACKAGE is installed."
   1.466 +}
   1.467 +
   1.468 +post_remove()
   1.469 +{
   1.470 +  notify-send -u normal -t 5000 -i application-x-tazpkg  "Tazpkg - Remove" "The $PACKAGE was removed."
   1.471 +}