aboutsummaryrefslogtreecommitdiff
path: root/appimage/build_appimage.sh
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-04-10 20:23:39 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-04-10 20:23:39 +0200
commit032d2c8a153ed3f0ecadfbf91e07d8d4567e6502 (patch)
tree27827b5d4ffdd249ff6901571e4106d8b1cba5ad /appimage/build_appimage.sh
parentMerge branch 'remove_plugin_certificates' into 'master' (diff)
downloadlibrewolf-linux-032d2c8a153ed3f0ecadfbf91e07d8d4567e6502.tar.gz
librewolf-linux-032d2c8a153ed3f0ecadfbf91e07d8d4567e6502.tar.bz2
librewolf-linux-032d2c8a153ed3f0ecadfbf91e07d8d4567e6502.zip
Use correct appstream data location for AppImage
Also installs some tools for appstream validation, which unfortunately show that currently the appstream file used has some issues.
Diffstat (limited to 'appimage/build_appimage.sh')
-rwxr-xr-xappimage/build_appimage.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/appimage/build_appimage.sh b/appimage/build_appimage.sh
index 257e7d2..4229004 100755
--- a/appimage/build_appimage.sh
+++ b/appimage/build_appimage.sh
@@ -46,8 +46,13 @@ apt -qq update && apt -qqy install wget;
wget $_APPIMAGETOOL_DOWNLOAD_URL -O $_APPIMAGETOOL_FILE;
chmod +x $_APPIMAGETOOL_FILE;
+# Installs appstream-util and appstreamcli
+apt -qqy install appstream-util appstream
+
# add appstream metadata
-install -Dvm644 "$_BINARY_TARBALL_EXTRACTED_FOLDER/io.gitlab.LibreWolf.appdata.xml" "$_BINARY_TARBALL_EXTRACTED_FOLDER/usr/share/metainfo/io.gitlab.LibreWolf.appdata.xml"
+install -Dvm644 "$_BINARY_TARBALL_EXTRACTED_FOLDER/io.gitlab.LibreWolf.appdata.xml" "$_BINARY_TARBALL_EXTRACTED_FOLDER/usr/share/metainfo/librewolf.appdata.xml"
+
+# install -Dvm644 "$_BINARY_TARBALL_EXTRACTED_FOLDER/librewolf.desktop" "$_BINARY_TARBALL_EXTRACTED_FOLDER/io.gitlab.LibreWolf.desktop"
# add libdbus-glib-1.so.2, just in case
install -Dvm644 "/usr/lib/${CARCH}-linux-gnu/libdbus-glib-1.so.2" "$_BINARY_TARBALL_EXTRACTED_FOLDER/usr/lib/libdbus-glib-1.so."2
bgstack15