google-earth-pro: proper cleanup
This commit is contained in:
parent
e24234a2ca
commit
a652f480cf
1 changed files with 6 additions and 4 deletions
|
@ -16,6 +16,8 @@ restricted=yes
|
|||
nostrip=yes
|
||||
|
||||
post_fetch() {
|
||||
mkdir -p "$wrksrc"
|
||||
cd "$wrksrc"
|
||||
$XBPS_FETCH_CMD https://www.google.com/intl/ALL/policies/terms/index.html>Google-Terms-of-Service.html \
|
||||
https://www.google.com/help/terms_maps.html>Google-Earth-Additional-Terms-of-Service.html \
|
||||
https://www.google.com/help/legalnotices_maps.html>Legal-Notices-for-Google-Earth-and-Google-Earth-APIs.html \
|
||||
|
@ -42,10 +44,10 @@ do_install() {
|
|||
usr/share/icons/hicolor/${i}x${i}/apps ${pkgname}.png
|
||||
done
|
||||
|
||||
for i in ${XBPS_BUILDDIR}/Google-Terms-of-Service.html \
|
||||
${XBPS_BUILDDIR}/Google-Earth-Additional-Terms-of-Service.html \
|
||||
${XBPS_BUILDDIR}/Legal-Notices-for-Google-Earth-and-Google-Earth-APIs.html \
|
||||
${XBPS_BUILDDIR}/Google-Privacy-Policy.html; do
|
||||
for i in Google-Terms-of-Service.html \
|
||||
Google-Earth-Additional-Terms-of-Service.html \
|
||||
Legal-Notices-for-Google-Earth-and-Google-Earth-APIs.html \
|
||||
Google-Privacy-Policy.html; do
|
||||
vlicense ${i}
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue