diff options
author | Det | 2016-02-21 20:22:58 +0200 |
---|---|---|
committer | Det | 2016-02-21 20:22:58 +0200 |
commit | 9568db0b353f5b80a33da6fffda08ecec4e9a01f (patch) | |
tree | 53ebe90480b8b122402e1cab5e46bce69c22ab8b | |
parent | 30405d8475fe8b91ec357c86c4d1156ff8717832 (diff) | |
download | aur-9568db0b353f5b80a33da6fffda08ecec4e9a01f.tar.gz |
New ones of them licenses
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 6 deletions
@@ -1,3 +1,5 @@ +# Generated by mksrcinfo v8 +# Sun Feb 21 18:22:58 UTC 2016 pkgbase = google-earth pkgdesc = A 3D interface to view satellite images of Earth and other objects pkgver = 7.1.4.1529 @@ -28,8 +30,6 @@ pkgbase = google-earth md5sums = b8847cb867bdb3ff892149f0fd68f036 md5sums = e84f5d51ea3545c131d1794f89f6464a md5sums = 598d579a1c3199c77850d86ba78f7b44 - source_x86_64_unstable = google-earth-stable_7.1.4.1529_amd64.deb::https://dl.google.com/earth/client/current/google-earth-stable_current_amd64.deb - md5sums_x86_64_unstable = 7bbba9d4d64f2a9b38752e259d849bda - + pkgname = google-earth @@ -71,9 +71,16 @@ package() { install -Dm644 "$pkgdir"/$_instdir/product_logo_$i.png "$pkgdir"/usr/share/icons/hicolor/${i}x${i}/apps/google-earth.png done - # The license (too many different ones to do this in "source=()") - install -d "$pkgdir"/usr/share/licenses/google-earth/ - curl -Ls ${url/i*}/license.html -o "$pkgdir"/usr/share/licenses/google-earth/license.html + # Licenses (different countries redirect to different ones) + install -d "$pkgdir"/usr/share/licenses/$pkgname/ + curl -Ls https://www.google.com/intl/ALL/policies/terms/index.html \ + -o "$pkgdir/usr/share/licenses/$pkgname/Google Terms of Service.html" + curl -Ls https://www.google.com/help/terms_maps.html \ + -o "$pkgdir/usr/share/licenses/$pkgname/Google Earth Additional Terms of Service.html" + curl -Ls https://www.google.com/help/legalnotices_maps.html \ + -o "$pkgdir/usr/share/licenses/$pkgname/Legal Notices for Google Earth and Google Earth APIs.html" + curl -Ls https://www.google.com/intl/ALL/policies/privacy/index.html \ + -o "$pkgdir/usr/share/licenses/$pkgname/Google Privacy Policy.html" msg2 "Removing the Debian-intended cron job and duplicated images..." rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/$_instdir/product_logo_*.png |