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>
This commit is contained in:
James Le Cuirot
2020-11-20 22:21:15 +00:00
parent dc9a8ee7a3
commit fee47c72ba
@@ -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}