From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Fri, 8 Jan 2021 00:40:23 +0100
Subject: Install appdata.xml into propriate folder

Forwarded: not-needed

The installation of the appdata.xml file into the lib/ folder isn't
useful as the file needs to get into /u/s/metainfo finally. Let's
install the file renamed to the correct file name into

 build/linux/work/usr/share/metainfo.

From there we can grab the file by the install sequencer.

Forwarded: no
---
 build/build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/build.xml b/build/build.xml
index 4bd6b1f..2d96e6e 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -652,7 +652,7 @@
 
     <copy tofile="linux/work/lib/arduino-arduinoide.xml" file="linux/dist/mime.xml" />
     <copy todir="linux/work/lib" file="linux/dist/desktop.template" />
-    <copy todir="linux/work/lib" file="linux/dist/appdata.xml" />
+    <copy tofile="linux/work/usr/share/metainfo/cc.arduino.arduinoide.appdata.xml" file="linux/dist/appdata.xml" />
 
     <copy todir="linux/work" file="linux/dist/arduino" />
     <copy todir="linux/work" file="linux/dist/install.sh" />
