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/5_Configure_Binary_Tarball.sh | |
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/5_Configure_Binary_Tarball.sh')
-rwxr-xr-x | binary_tarball/scripts/5_Configure_Binary_Tarball.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 . |