summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDet2017-01-23 20:05:44 +0200
committerDet2017-01-23 20:05:44 +0200
commit72a1b493395f2d2dc967b06e5dc6f09f8bcad611 (patch)
treec40410fd1081a18c580ead947d566cfd69e2d6b8 /PKGBUILD
parent60cd2d7eb75a494547daa0d350dd8ac30169d334 (diff)
downloadaur-72a1b493395f2d2dc967b06e5dc6f09f8bcad611.tar.gz
Tweak install flow
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0f4c35545cf2..70e49fc111ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -62,14 +62,12 @@ package() {
done
# Licenses
- install -Dm644 'Google-Terms-of-Service.html' \
- "$pkgdir/usr/share/licenses/$pkgname/Google-Terms-of-Service.html"
- install -Dm644 'Google-Earth-Additional-Terms-of-Service.html' \
- "$pkgdir/usr/share/licenses/$pkgname/Google-Earth-Additional-Terms-of-Service.html"
- install -Dm644 'Legal-Notices-for-Google-Earth-and-Google-Earth-APIs.html' \
- "$pkgdir/usr/share/licenses/$pkgname/Legal-Notices-for-Google-Earth-and-Google-Earth-APIs.html"
- install -Dm644 'Google-Privacy-Policy.html' \
- "$pkgdir/usr/share/licenses/$pkgname/Google-Privacy-Policy.html"
+ 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
+ install -Dm644 $i "$pkgdir"/usr/share/licenses/$pkgname/$i
+ done
msg2 "Removing the Debian-intended cron job and duplicated images..."
rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/$_instdir/product_logo_*.png