diff --git a/srcpkgs/google-earth-pro/template b/srcpkgs/google-earth-pro/template index a8dd0d7996b..6bb98082cb6 100644 --- a/srcpkgs/google-earth-pro/template +++ b/srcpkgs/google-earth-pro/template @@ -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