appdata: Install appdata into /usr/share/metainfo (#71)

The appdata description file was installed into the legacy path /usr/share/appdata/ .

This commit would install appdata info into the canonical dir /usr/share/metainfo/ .

Refs:
 https://lintian.debian.org/tags/appstream-metadata-in-legacy-location.html
This commit is contained in:
Boyuan Yang
2018-01-10 00:32:35 +08:00
committed by Dharkael
parent f36ab43e70
commit c726e06d3b

View File

@@ -221,7 +221,7 @@ unix:!macx {
completion.path = $${BASEDIR}$${PREFIX}/share/bash-completion/completions/
completion.files = docs/bash-completion/flameshot
appdata.path = $${BASEDIR}$${PREFIX}/share/appdata/
appdata.path = $${BASEDIR}$${PREFIX}/share/metainfo/
appdata.files = docs/appdata/flameshot.appdata.xml
desktopentry.path = $${BASEDIR}$${PREFIX}/share/applications