From f1c4c83977c89308819a978c382f92302cdada31 Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Fri, 19 Jan 2024 11:57:33 +0100 Subject: [PATCH] Initial Commit Test run with pkg2appimage --- Floorp.yml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Floorp.yml diff --git a/Floorp.yml b/Floorp.yml new file mode 100644 index 0000000..6f941fd --- /dev/null +++ b/Floorp.yml @@ -0,0 +1,50 @@ +app: Floorp + +ingredients: + script: + - VER="11.8.1" + - LNK="https://github.com/Floorp-Projects/Floorp/releases/download/v$VER/floorp-$VER.linux-x86_64.tar.bz2" + - wget $LNK + - tar xf floorp*.tar.bz2 + +script: + - # Copy binaries and icons + - cp -r ../floorp/* usr/bin/ + - find . -name mozicon128.png -exec cp {} floorp.png \; + - find . -name default128.png -exec cp {} floorp.png \; + - find . -name mozicon128.png -exec cp {} usr/share/icons/hicolor/128x128/apps/floorp.png \; + - find . -name mozicon22.png -exec cp {} usr/share/icons/hicolor/22x22/apps/floorp.png \; + - find . -name mozicon24.png -exec cp {} usr/share/icons/hicolor/24x24/apps/floorp.png \; + - find . -name mozicon256.png -exec cp {} usr/share/icons/hicolor/256x256/apps/floorp.png \; + - find . -name mozicon32.png -exec cp {} sr/share/icons/hicolor/32x32/apps/floorp.png \; + - find . -name mozicon48.png -exec cp {} usr/share/icons/hicolor/48x48/apps/floorp.png \; + - find . -name mozicon512.png -exec cp {} usr/share/icons/hicolor/512x512/apps/floorp.png \; + - find . -name mozicon64.png -exec cp {} usr/share/icons/hicolor/64x64/apps/floorp.png \; + - find . -name default128.png -exec cp {} usr/share/icons/hicolor/128x128/apps/floorp.png \; + - find . -name default22.png -exec cp {} usr/share/icons/hicolor/22x22/apps/floorp.png \; + - find . -name default24.png -exec cp {} usr/share/icons/hicolor/24x24/apps/floorp.png \; + - find . -name default256.png -exec cp {} usr/share/icons/hicolor/256x256/apps/floorp.png \; + - find . -name default32.png -exec cp {} usr/share/icons/hicolor/32x32/apps/floorp.png \; + - find . -name default48.png -exec cp {} usr/share/icons/hicolor/48x48/apps/floorp.png \; + - find . -name default5128.png -exec cp {} usr/share/icons/hicolor/512x512/apps/floorp.png \; + - find . -name default64.png -exec cp {} usr/share/icons/hicolor/64x64/apps/floorp.png \; + - # Generate desktop file + - cat > floorp.desktop < AppRun <<\EOF + - #!/bin/bash + - HERE="$(dirname "$(readlink -f "${0}")")" + - export SNAP_NAME="floorp" # Prevent per installation profiles in ff = 67 + - export MOZ_LEGACY_PROFILES=1 # Prevent per installation profiles in ff > 68 + - "$HERE/usr/bin/floorp" "$@" + - EOF + - chmod a+x AppRun