diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-03-31 10:57:25 +0200 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-03-31 10:57:25 +0200 |
commit | b4785c8efd65af94da9b14cb011c69101a54072a (patch) | |
tree | 00c2fb8b1fa7eebca83a282f5d3cd8366f6fc139 /binary_tarball/scripts | |
parent | appdir-lint demands a png; fix variable in configure-source script (diff) | |
download | librewolf-linux-b4785c8efd65af94da9b14cb011c69101a54072a.tar.gz librewolf-linux-b4785c8efd65af94da9b14cb011c69101a54072a.tar.bz2 librewolf-linux-b4785c8efd65af94da9b14cb011c69101a54072a.zip |
generate appstream metadata
Diffstat (limited to 'binary_tarball/scripts')
-rwxr-xr-x | binary_tarball/scripts/1_Install_Dependencies.sh | 2 | ||||
-rwxr-xr-x | binary_tarball/scripts/5_Configure_Binary_Tarball.sh | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/binary_tarball/scripts/1_Install_Dependencies.sh b/binary_tarball/scripts/1_Install_Dependencies.sh index 7f2c85a..42b989c 100755 --- a/binary_tarball/scripts/1_Install_Dependencies.sh +++ b/binary_tarball/scripts/1_Install_Dependencies.sh @@ -4,9 +4,9 @@ printf "\n\n-------------------------------------- DEPENDENCY INSTALLATION ----- set -e # Setup Script Variables -# _DEPENDENCIES="mercurial wget git flatpak flatpak-builder"; _DEPENDENCIES="wget git xvfb \ xz-utils \ + gettext-base \ curl python3 libjack-dev \ autotools-dev \ autoconf2.13 \ diff --git a/binary_tarball/scripts/5_Configure_Binary_Tarball.sh b/binary_tarball/scripts/5_Configure_Binary_Tarball.sh index 2068805..c981fc1 100755 --- a/binary_tarball/scripts/5_Configure_Binary_Tarball.sh +++ b/binary_tarball/scripts/5_Configure_Binary_Tarball.sh @@ -38,7 +38,7 @@ distini="$_EXTRACTED_TARBALL_FOLDER/distribution/distribution.ini" install -Dvm644 /dev/stdin "$distini" <<END [Global] -id=io.gitlab.${pkgname} +id=io.gitlab.LibreWolf version=1.0 about=LibreWolf @@ -48,6 +48,10 @@ app.distributor.channel=librewolf app.partner.librewolf=librewolf END +# Create Appstream metadate file +export DATE=$(date +%Y-%m-%d) +envsubst < ${_SCRIPT_FOLDER}/content/io.gitlab.LibreWolf.appdata.xml.in > ${_EXTRACTED_TARBALL_FOLDER}/io.gitlab.LibreWolf.appdata.xml + # Repacks the binary tarball printf "\nRecompressing binary tarball\n"; tar -jvcf $BINARY_TARBALL -C $_EXTRACTED_TARBALL_FOLDER . |