summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-11-20 22:11:21 +0000
committerJames Le Cuirot <chewi@gentoo.org>2020-11-20 22:21:15 +0000
commitfee47c72ba7b42e6615e6f0664b30b9faa100a5c (patch)
tree98737959198aa446c7385ae90364027c3d4443f5 /www-client
parentwww-client/vivaldi-snapshot: Fix warning about ja-KS locale (diff)
downloadgentoo-fee47c72ba7b42e6615e6f0664b30b9faa100a5c.tar.gz
gentoo-fee47c72ba7b42e6615e6f0664b30b9faa100a5c.tar.bz2
gentoo-fee47c72ba7b42e6615e6f0664b30b9faa100a5c.zip
www-client/vivaldi-snapshot: Properly handle deprecated appdata dir
Instead of just deleting it. Package-Manager: Portage-3.0.9, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild
index d6fc7f5a6fa7..6a8463950f69 100644
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild
@@ -152,6 +152,9 @@ src_prepare() {
gunzip usr/share/doc/${PF}/changelog.gz || die
+ # The appdata directory is deprecated.
+ mv usr/share/{appdata,metainfo}/ || die
+
rm \
_gpgbuilder \
etc/cron.daily/${PN} \
@@ -181,7 +184,6 @@ src_prepare() {
}
src_install() {
- rm -r usr/share/appdata || die
mv * "${D}" || die
dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}