summaryrefslogtreecommitdiff
blob: d774613a9176f46e2d73c1284212cf2a98139ba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From f02a7863a13ad5da340b35648ae5cefc0789869e Mon Sep 17 00:00:00 2001
From: Conrad Kostecki <conrad@kostecki.com>
Date: Mon, 20 Apr 2020 17:00:58 +0200
Subject: [PATCH] Makefile.am: store appdata to /usr/share/metainfo

The path '/usr/share/appdata' is deprecated and
should be changed to '/usr/share/metainfo'.

See section: 2.1.2. Filesystem locations
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html

Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 81c6923..53d6f1b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -266,7 +266,7 @@ uninstall-hook:
 	 rm -f $(DESTDIR)$(sysconfdir)/NetworkManager/VPN/nm-wireguard-service.name
 endif
 
-appdatadir = $(datadir)/appdata
+appdatadir = $(datadir)/metainfo
 appdata_files = $(appdata_in_files:.xml.in=.xml)
 if WITH_GNOME
 appdata_DATA = $(appdata_files)